(pathname: string)
| 69 | hasBearerToken(request, token); |
| 70 | |
| 71 | export const hasFileExtension = (pathname: string): boolean => { |
| 72 | const lastSegment = pathname.split("/").at(-1) ?? ""; |
| 73 | return lastSegment.includes("."); |
| 74 | }; |
| 75 | |
| 76 | /** |
| 77 | * OAuth provider callbacks land here from the user's external browser, which |