summary refs log tree commit diff
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-09-08 22:28:43 -0400
committerRory& <root@rory.gay>2026-01-21 07:10:10 +0100
commit4a7cd6e3997d770eab52c286f1201b5e86a0cff6 (patch)
tree85fe3461d259169ecd32b8e364c6930d69eccdb4
parentSend experiment required to enable pomelo UI in discord client (diff)
downloadserver-ts-4a7cd6e3997d770eab52c286f1201b5e86a0cff6.tar.xz
add unique-username routes to unauthenticated list
-rw-r--r--src/api/middlewares/Authentication.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts

index ad949b25..6e14f6b6 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts
@@ -58,6 +58,8 @@ export const NO_AUTHORIZATION_ROUTES = [ /^(POST|HEAD) \/connections\/\w+\/callback/, // Image proxy /^(GET|HEAD) \/imageproxy\/[A-Za-z0-9+/]\/\d+x\d+\/.+/, + /\/connections\/\w+\/callback/, + "/unique-username/", ]; export const API_PREFIX = /^\/api(\/v\d+)?/;