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

Function getReferrerType

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

Source from the content-addressed store, hash-verified

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

Callers 1

getBootURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected