mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(api): allow Scalar docs through auth and CSP
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user