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

Function isStartOwnedApiPath

apps/cloud/src/app-paths.ts:43–44  ·  view source on GitHub ↗
(pathname: string, method: string)

Source from the content-addressed store, hash-verified

41// ---------------------------------------------------------------------------
42
43export const isStartOwnedApiPath = (pathname: string, method: string): boolean =>
44 (pathname === "/api/sentry-tunnel" && method === "POST") || pathname === "/api/oauth/callback";
45
46export const servedByAppPlane = (pathname: string, method: string): boolean =>
47 isApiPath(pathname) && !isStartOwnedApiPath(pathname, method);

Callers 1

servedByAppPlaneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected