Skip to content

Commit 56c283d

Browse files
committed
add unique-username routes to unauthenticated list
1 parent 3fed979 commit 56c283d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/middlewares/Authentication.ts

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const NO_AUTHORIZATION_ROUTES = [
5454
/\/guilds\/\d+\/widget\.(json|png)/,
5555
// Connections
5656
/\/connections\/\w+\/callback/,
57+
"/unique-username/",
5758
];
5859

5960
export const API_PREFIX = /^\/api(\/v\d+)?/;

0 commit comments

Comments
 (0)