| commit | 4fde4a1fed6a333653e079d5d756f3902b2d1622 | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Sun Oct 13 12:19:30 2024 +0400 |
| committer | gio <gio@v1.dodo.cloud> | Mon Oct 14 09:07:05 2024 +0400 |
| tree | cdd711f0382bbb7baadd39026e2ac8914be11cf0 | |
| parent | 9870cc00ca128b0428e5fef1fff930ec33446039 [diff] |
AuthProxy: Support Regexps when checking if path requires auth Change-Id: I3bc6d3143cef46b711bb3ccc7e2cb1ee8c59313f
diff --git a/core/installer/values-tmpl/dodo-app.cue b/core/installer/values-tmpl/dodo-app.cue index cb61b45..1c5939b 100644 --- a/core/installer/values-tmpl/dodo-app.cue +++ b/core/installer/values-tmpl/dodo-app.cue
@@ -105,10 +105,10 @@ } if !input.external { enabled: true - noAuthPathPrefixes: [ - "/static/", - "/schemas/", - "/api/public-data", + noAuthPathPatterns: [ + "^/static/.*$", + "^/schemas/.*$", + "^/api/public-data$", ] } }