summary refs log tree commit diff
path: root/api/src/middlewares/Authentication.ts
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-24 19:49:32 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-24 19:49:32 +0300
commitd6cadb02f4d020be452a7facc614ce0c4e2449cb (patch)
tree1645f250f01caaa0cc8d72059b3fe41f384d7918 /api/src/middlewares/Authentication.ts
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-d6cadb02f4d020be452a7facc614ce0c4e2449cb.tar.xz
make templates configurable + authorization
Diffstat (limited to 'api/src/middlewares/Authentication.ts')
-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..a69b29a6 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", + "/guilds/templates", /\/guilds\/\d+\/widget\.(json|png)/ ];