From 56c283d4ce8e19db8605ce535d7f507f4d66996d Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 8 Sep 2023 22:28:43 -0400 Subject: add unique-username routes to unauthenticated list --- src/api/middlewares/Authentication.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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+)?/; -- cgit 1.5.1