Fixed errors in authorization for webhooks with tokens

This commit is contained in:
root
2025-03-23 16:28:25 -07:00
parent fdab1c9945
commit 336b2df1d7
8 changed files with 5599 additions and 21 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export const NO_AUTHORIZATION_ROUTES = [
"POST /auth/reset",
"GET /invites/",
// Routes with a seperate auth system
/^(POST|HEAD) \/webhooks\/\d+\/\w+\/?/, // no token requires auth
/^(POST|HEAD|GET|PATCH|DELETE) \/webhooks\/\d+\/\w+\/?/, // no token requires auth
// Public information endpoints
"GET /ping",
"GET /gateway",