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 Sep 9, 2023
1 parent 56d5e6a commit dbb5759
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 dbb5759

Please sign in to comment.