summary refs log tree commit diff
path: root/api/src/middlewares
diff options
context:
space:
mode:
authorThesourtimes <cckhmck@gmail.com>2021-11-18 22:15:05 +0300
committerThesourtimes <cckhmck@gmail.com>2021-11-18 22:15:05 +0300
commit17684a14fda0bb0f066efe31273dc55f3298e7d8 (patch)
tree2c919b9226c77b3c0cc45cfa93cf51c0e0c37f92 /api/src/middlewares
parentAdd image field (diff)
downloadserver-17684a14fda0bb0f066efe31273dc55f3298e7d8.tar.xz
Fix the minor issues on route
Diffstat (limited to 'api/src/middlewares')
-rw-r--r--api/src/middlewares/Authentication.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/src/middlewares/Authentication.ts b/api/src/middlewares/Authentication.ts
index e6df6eeb..8fbdd2b7 100644
--- a/api/src/middlewares/Authentication.ts
+++ b/api/src/middlewares/Authentication.ts
@@ -11,7 +11,9 @@ export const NO_AUTHORIZATION_ROUTES = [
 	"/experiments",
 	"/-/readyz",
 	"/-/healthz",
-	"/policies/instance/",
+	"/science",
+	"/track",
+	"/policies/instance",
 	/\/guilds\/\d+\/widget\.(json|png)/
 ];