()
| 22 | } |
| 23 | |
| 24 | export function getAllowedCorsOrigins(): string { |
| 25 | // Expects FQDN separated by commas, otherwise nothing. |
| 26 | return process.env.CORS_ORIGINS ?? '' |
| 27 | } |
| 28 | |
| 29 | export function getAllowCredentials(): boolean { |
| 30 | return process.env.CORS_ALLOW_CREDENTIALS === 'true' |
no outgoing calls
no test coverage detected