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

Function getReferrerType

packages/shared/src/lib/boot.ts:112–117  ·  view source on GitHub ↗
(pathname?: string)

Source from the content-addressed store, hash-verified

110 * Only returns known referrer identifiers for privacy
111 */
112const getReferrerType = (pathname?: string): string | undefined => {
113 if (pathname?.startsWith('/recruiter')) {
114 return 'recruiter';
115 }
116 return undefined;
117};
118
119const getBootURL = (app: string, url?: string, pathname?: string) => {
120 const appRoute = app === 'companion' ? '/companion' : '';

Callers 1

getBootURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected