(pathname?: string)
| 104 | * Only returns known referrer identifiers for privacy |
| 105 | */ |
| 106 | const getReferrerType = (pathname?: string): string | undefined => { |
| 107 | if (pathname?.startsWith('/recruiter')) { |
| 108 | return 'recruiter'; |
| 109 | } |
| 110 | return undefined; |
| 111 | }; |
| 112 | |
| 113 | const getBootURL = (app: string, url?: string, pathname?: string) => { |
| 114 | const appRoute = app === 'companion' ? '/companion' : ''; |