MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isAppOwnedPath

Function isAppOwnedPath

apps/cloud/src/app-paths.ts:18–19  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

16export const isApiPath = (pathname: string) => pathname === "/api" || pathname.startsWith("/api/");
17
18export const isAppOwnedPath = (pathname: string) =>
19 isApiPath(pathname) || classifyMcpPath(pathname) !== null;

Callers 4

app-paths.test.tsFile · 0.90
start.tsFile · 0.90
server.tsFile · 0.90
ssr-gate.tsFile · 0.90

Calls 2

classifyMcpPathFunction · 0.90
isApiPathFunction · 0.85

Tested by

no test coverage detected