MCPcopy Create free account
hub / github.com/dailydotdev/apps / isOnboardingExcludedPath

Function isOnboardingExcludedPath

packages/webapp/lib/onboardingRedirect.ts:8–9  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

6const onboardingExcludedPaths = ['/onboarding', '/activate'];
7
8const isOnboardingExcludedPath = (pathname: string): boolean =>
9 onboardingExcludedPaths.some((path) => pathname.startsWith(path));
10
11export interface OnboardingRedirectParams {
12 pathname: string;

Callers 1

getOnboardingRedirectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected