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

Function isMarketingPath

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

Source from the content-addressed store, hash-verified

28];
29
30export const isMarketingPath = (pathname: string) =>
31 MARKETING_PATHS.some((p) => pathname === p || pathname.startsWith(`${p}/`));
32
33const getMarketingWorker = () => env.MARKETING as { fetch: typeof fetch } | undefined;
34

Callers 2

marketing.test.tsFile · 0.90
marketing.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected