summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-09-08 22:28:43 -0400
committerPuyodead1 <puyodead@protonmail.com>2023-12-23 16:38:16 -0500
commit56c283d4ce8e19db8605ce535d7f507f4d66996d (patch)
tree501f9dc9f6eb8fe89834cc5617c7ca2381cafc40 /src
parentSend experiment required to enable pomelo UI in discord client (diff)
downloadserver-56c283d4ce8e19db8605ce535d7f507f4d66996d.tar.xz
add unique-username routes to unauthenticated list
Diffstat (limited to 'src')
-rw-r--r--src/api/middlewares/Authentication.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts

index 9e41b453..e3af8bf7 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts
@@ -54,6 +54,7 @@ export const NO_AUTHORIZATION_ROUTES = [ /\/guilds\/\d+\/widget\.(json|png)/, // Connections /\/connections\/\w+\/callback/, + "/unique-username/", ]; export const API_PREFIX = /^\/api(\/v\d+)?/;