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

Function isPosthogPath

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

Source from the content-addressed store, hash-verified

46 pathname === "/docs" || pathname.startsWith("/docs/");
47
48export const isPosthogPath = (pathname: string): boolean =>
49 pathname === POSTHOG_PROXY_PATH || pathname.startsWith(`${POSTHOG_PROXY_PATH}/`);
50
51/**
52 * Build the upstream request for an already-classified `/docs` path. Caller

Callers 3

posthog.tsFile · 0.90
passthroughResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected