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

Function isPosthogPath

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

Source from the content-addressed store, hash-verified

49 pathname === "/docs" || pathname.startsWith("/docs/");
50
51export const isPosthogPath = (pathname: string): boolean =>
52 pathname === POSTHOG_PROXY_PATH || pathname.startsWith(`${POSTHOG_PROXY_PATH}/`);
53
54/**
55 * 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