This commit is contained in:
seb
2026-10-14 00:21:31 +02:00
parent 74b24686bc
commit f9ed4fe75d
18 changed files with 1508 additions and 279 deletions

View File

@@ -53,6 +53,24 @@ function isRouteOmitted(method, apiPath) {
if (apiPath === '/vfs' || apiPath.startsWith('/vfs/')) {
return true;
}
if (apiPath === '/backup' || apiPath.startsWith('/backup/')) {
return true;
}
if (apiPath === '/mcp' || apiPath.startsWith('/mcp/')) {
return true;
}
if (apiPath === '/oauth' || apiPath.startsWith('/oauth/')) {
return true;
}
if (apiPath === '/.well-known' || apiPath.startsWith('/.well-known/')) {
return true;
}
if (apiPath === '/account' || apiPath.startsWith('/account/')) {
return true;
}
if (apiPath === '/auth' || apiPath.startsWith('/auth/')) {
return true;
}
return OMITTED_ROUTES.has(`${method.toUpperCase()} ${apiPath}`);
}