(url: string)
| 52 | ] |
| 53 | |
| 54 | function isSessionEndpoint(url: string): boolean { |
| 55 | const path = url.split('?')[0].toLowerCase() |
| 56 | return SESSION_ENDPOINTS.some((ep) => path === ep || path.startsWith(ep + '/')) |
| 57 | } |
| 58 | |
| 59 | function parseAllowedOrigins(allowedOrigins: string): string[] { |
| 60 | if (!allowedOrigins) { |