u
This commit is contained in:
@@ -105,6 +105,15 @@ function isRouteOmitted(method, apiPath) {
|
||||
if (apiPath === '/v1' || apiPath.startsWith('/v1/')) {
|
||||
return true;
|
||||
}
|
||||
if (apiPath === '/health' || apiPath.startsWith('/health/')) {
|
||||
return true;
|
||||
}
|
||||
if (apiPath === '/subagentschedule' || apiPath.startsWith('/subagentschedule/')) {
|
||||
return true;
|
||||
}
|
||||
if (apiPath === '/zpljob' || apiPath.startsWith('/zpljob/')) {
|
||||
return true;
|
||||
}
|
||||
return OMITTED_ROUTES.has(`${method.toUpperCase()} ${apiPath}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user