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
commitf45d1d579d7c6e845f296f7db1df983fb3170c8b (patch)
tree424d04cbf22afcac5e2be15cf8ce46165c20004b /api/src/middlewares/Authentication.ts
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-f45d1d579d7c6e845f296f7db1df983fb3170c8b.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)/ ];