()
| 27 | } |
| 28 | |
| 29 | export function getAllowCredentials(): boolean { |
| 30 | return process.env.CORS_ALLOW_CREDENTIALS === 'true' |
| 31 | } |
| 32 | |
| 33 | export function getAllowedAuthCorsOrigins(): string[] { |
| 34 | const appUrl = process.env.APP_URL?.trim() |
no outgoing calls
no test coverage detected