u
This commit is contained in:
@@ -41,6 +41,12 @@ function isRouteOmitted(method, apiPath) {
|
||||
if (apiPath === '/posterminal' || apiPath.startsWith('/posterminal/')) {
|
||||
return true;
|
||||
}
|
||||
if (apiPath === '/modelconversation' || apiPath.startsWith('/modelconversation/')) {
|
||||
return true;
|
||||
}
|
||||
if (apiPath === '/public' || apiPath.startsWith('/public/')) {
|
||||
return true;
|
||||
}
|
||||
return OMITTED_ROUTES.has(`${method.toUpperCase()} ${apiPath}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user