fix(api): allow Scalar docs through auth and CSP

This commit is contained in:
Siddharth Kumar Sah
2026-03-27 13:50:03 +08:00
parent abb2916233
commit a46d500012
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -585,6 +585,8 @@ const PUBLIC_PATHS = [
"/api/v1/download/",
"/api/v1/jobs/",
"/api/v1/settings/logo",
"/api/docs",
"/api/v1/openapi.yaml",
];
function isPublicRoute(url: string): boolean {