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

Function isDocsPath

apps/cloud/src/edge/passthrough.ts:45–46  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

43const tracer = trace.getTracer("executor-cloud-docs-proxy");
44
45export const isDocsPath = (pathname: string): boolean =>
46 pathname === "/docs" || pathname.startsWith("/docs/");
47
48export const isPosthogPath = (pathname: string): boolean =>
49 pathname === POSTHOG_PROXY_PATH || pathname.startsWith(`${POSTHOG_PROXY_PATH}/`);

Callers 4

docs.tsFile · 0.90
passthroughResponseFunction · 0.85
docs.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected