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