fix: Fixed endpoint
Server Deploy / deploy (push) Successful in 1m20s

This commit is contained in:
domrichardson
2026-07-03 11:56:49 +01:00
parent 7c30d26878
commit 73a06227ba
4 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ metadata:
spec:
provider:
webhook:
url: "${readUrl}/secrets/{{ .remoteRef.key }}"
url: "${readUrl}/api/secrets/{{ .remoteRef.key }}/values"
method: GET
result:
jsonPath: "$"
@@ -252,7 +252,7 @@ export default function SecretGroupPage() {
<div>
<h1 className="font-mono text-2xl font-bold text-text-primary">{group}</h1>
<p className="mt-1 text-sm text-text-secondary">
ESO reads this group at <span className="font-mono">GET /secrets/{group}</span>
ESO reads this group at <span className="font-mono">GET /api/secrets/{group}/values</span>
</p>
</div>
<div className="flex items-center gap-3">
+2 -2
View File
@@ -78,8 +78,8 @@ function SecretsTokenCard({
const [copied, setCopied] = useState(false);
const readUrl =
typeof window !== "undefined"
? `${window.location.origin}/secrets/<group>`
: "/secrets/<group>";
? `${window.location.origin}/api/secrets/<group>/values`
: "/api/secrets/<group>/values";
const { mutate: rotate, isPending } = useMutation({
mutationFn: api.rotateSecretsToken,
File diff suppressed because one or more lines are too long