(hostname: string)
| 111 | ]) |
| 112 | |
| 113 | export function isLoopbackHostname(hostname: string): boolean { |
| 114 | return LOCALHOST_HOSTNAMES.has(hostname) |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Parses a comma-separated list of origins (e.g. from a `TRUSTED_ORIGINS` env |
no outgoing calls
no test coverage detected