(origin: string, pathPrefix?: string)
| 92 | * @returns The prefixed landing path. |
| 93 | */ |
| 94 | export function getPrefixedLandingPath(origin: string, pathPrefix?: string) { |
| 95 | const redirectPathSegment = pathPrefix ? `/${pathPrefix}` : ''; |
| 96 | return `${origin}${redirectPathSegment}`; |
| 97 | } |
| 98 | |
| 99 | function getParamsFromUrl( |
| 100 | url: string | undefined | null, |
no outgoing calls
no test coverage detected