mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 16:05:41 +00:00
add unique-username routes to unauthenticated list
This commit is contained in:
@@ -58,6 +58,8 @@ export const NO_AUTHORIZATION_ROUTES = [
|
||||
/^(POST|HEAD) \/connections\/\w+\/callback/,
|
||||
// Image proxy
|
||||
/^(GET|HEAD) \/imageproxy\/[A-Za-z0-9+/]\/\d+x\d+\/.+/,
|
||||
/\/connections\/\w+\/callback/,
|
||||
"/unique-username/",
|
||||
];
|
||||
|
||||
export const API_PREFIX = /^\/api(\/v\d+)?/;
|
||||
|
||||
Reference in New Issue
Block a user