diff options
author | uurgothat <cckhmck@gmail.com> | 2021-11-17 22:28:22 +0300 |
---|---|---|
committer | uurgothat <cckhmck@gmail.com> | 2021-11-17 22:28:22 +0300 |
commit | 39aebb2cfc053c1cf8837738ac4154a454e44ff1 (patch) | |
tree | c39ffd799cad1f68ac954c8870d04169949854bc /api/src/middlewares | |
parent | Merge pull request #496 from fosscord/translation (diff) | |
download | server-39aebb2cfc053c1cf8837738ac4154a454e44ff1.tar.xz |
Add instance route
Diffstat (limited to 'api/src/middlewares')
-rw-r--r-- | api/src/middlewares/Authentication.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/middlewares/Authentication.ts b/api/src/middlewares/Authentication.ts index 59a181e6..e6df6eeb 100644 --- a/api/src/middlewares/Authentication.ts +++ b/api/src/middlewares/Authentication.ts @@ -11,6 +11,7 @@ export const NO_AUTHORIZATION_ROUTES = [ "/experiments", "/-/readyz", "/-/healthz", + "/policies/instance/", /\/guilds\/\d+\/widget\.(json|png)/ ]; |