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

Function isMarketingPath

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

Source from the content-addressed store, hash-verified

30
31/** Whether an exact pathname belongs to the public marketing worker. */
32export const isMarketingPath = (pathname: string): boolean =>
33 MARKETING_PATHS.some((p) => pathname === p || pathname.startsWith(`${p}/`));
34
35/**
36 * Project a production request onto the marketing service-binding request.

Callers 2

marketing.test.tsFile · 0.90
marketingProxyRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected