Merge remote-tracking branch 'origin/dev/admin-api'

This commit is contained in:
Rory&
2025-10-05 21:48:43 +02:00
135 changed files with 8081 additions and 48 deletions
+4
View File
@@ -36,5 +36,9 @@ export function CORS(req: Request, res: Response, next: NextFunction) {
req.header("Access-Control-Request-Methods") || "*",
);
if (req.method === "OPTIONS") {
res.status(204).end();
return;
}
next();
}