summary refs log tree commit diff
path: root/src/api/middlewares
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2022-12-22 10:05:51 -0500
committerPuyodead1 <puyodead@proton.me>2023-03-18 19:09:51 -0400
commit21bfda32e452c05b8906bf318df7415d6cd5acd0 (patch)
tree997f6ff0dd5ec6969cfea270776e4d96f1d82820 /src/api/middlewares
parentMerge pull request #1005 from Xanderplayz18/patch-1 (diff)
downloadserver-21bfda32e452c05b8906bf318df7415d6cd5acd0.tar.xz
add connections
Diffstat (limited to 'src/api/middlewares')
-rw-r--r--src/api/middlewares/Authentication.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts
index 771f0de8..55527984 100644
--- a/src/api/middlewares/Authentication.ts
+++ b/src/api/middlewares/Authentication.ts
@@ -52,6 +52,8 @@ export const NO_AUTHORIZATION_ROUTES = [
 	"/oauth2/callback",
 	// Asset delivery
 	/\/guilds\/\d+\/widget\.(json|png)/,
+	// Connections
+	/\/connections\/\w+\/callback/
 ];
 
 export const API_PREFIX = /^\/api(\/v\d+)?/;