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

Function getMarketingWorker

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

Source from the content-addressed store, hash-verified

31 MARKETING_PATHS.some((p) => pathname === p || pathname.startsWith(`${p}/`));
32
33const getMarketingWorker = () => env.MARKETING as { fetch: typeof fetch } | undefined;
34
35export const marketingMiddleware = createMiddleware({ type: "request" }).server(
36 async ({ pathname, request, next }) => {

Callers 1

marketing.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected