This commit is contained in:
Puyodead1
2023-03-18 19:50:38 -04:00
parent 7116a9a1b0
commit 5a7765c7dc
5 changed files with 58 additions and 51 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ import {
Sentry,
WebAuthn,
ConnectionConfig,
ConnectionLoader
ConnectionLoader,
} from "@fosscord/util";
import { Request, Response, Router } from "express";
import { Server, ServerOptions } from "lambert-server";
+1 -1
View File
@@ -53,7 +53,7 @@ export const NO_AUTHORIZATION_ROUTES = [
// Asset delivery
/\/guilds\/\d+\/widget\.(json|png)/,
// Connections
/\/connections\/\w+\/callback/
/\/connections\/\w+\/callback/,
];
export const API_PREFIX = /^\/api(\/v\d+)?/;