Skip to content

Commit

Permalink
fix: add missing leading '/' in rewrite rule target (#692)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Voiturier <[email protected]>
  • Loading branch information
bvoiturier authored Sep 6, 2023
1 parent d189f49 commit f2be228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/apisixroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
- name: proxy-rewrite
enable: true
config:
regex_uri: ["^/prism-agent/credential-definition-registry/definitions/(.*)", "credential-definition-registry/definitions/$1"]
regex_uri: ["^/prism-agent/credential-definition-registry/definitions/(.*)", "/credential-definition-registry/definitions/$1"]
{{ template "cors" . }}

---
Expand Down

0 comments on commit f2be228

Please sign in to comment.