summary refs log tree commit diff
path: root/api/src/middlewares
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-11-17 22:28:22 +0300
committeruurgothat <cckhmck@gmail.com>2021-11-17 22:28:22 +0300
commit39aebb2cfc053c1cf8837738ac4154a454e44ff1 (patch)
treec39ffd799cad1f68ac954c8870d04169949854bc /api/src/middlewares
parentMerge pull request #496 from fosscord/translation (diff)
downloadserver-39aebb2cfc053c1cf8837738ac4154a454e44ff1.tar.xz
Add instance route
Diffstat (limited to 'api/src/middlewares')
-rw-r--r--api/src/middlewares/Authentication.ts1
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)/
 ];