u
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user