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

Function isV2MarketingPath

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

Source from the content-addressed store, hash-verified

129/** Whether a pathname belongs to v2's marketing site on `executor.sh`. `/`
130 * also does, without a v1 session; see {@link isV2Homepage}. */
131export const isV2MarketingPath = (pathname: string): boolean =>
132 V2_MARKETING_PATHS.some((pattern) => matchesPathPattern(pathname, pattern));
133
134/** v2's pages that match only themselves (`/pricing`, `/home`,
135 * `/about-executor`, `/google-workspace`): exact patterns that are not

Callers 2

marketing.test.tsFile · 0.90
v2EdgeResponseFunction · 0.85

Calls 1

matchesPathPatternFunction · 0.85

Tested by

no test coverage detected