Skip to content

Commit

Permalink
add unique-username routes to unauthenticated list
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Dec 23, 2023
1 parent 3fed979 commit 56c283d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/middlewares/Authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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+)?/;
Expand Down

0 comments on commit 56c283d

Please sign in to comment.