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

Function isMarketingPath

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

Source from the content-addressed store, hash-verified

43
44/** Whether a pathname belongs to v1's marketing worker on `executor.sh`. */
45export const isMarketingPath = (pathname: string): boolean =>
46 V1_MARKETING_PATHS.some((path) => pathname === path || pathname.startsWith(`${path}/`));
47
48/**
49 * Project a production request for v1's legal pages (or their assets) onto the

Callers 2

marketing.test.tsFile · 0.90
marketingProxyRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected