(env: EnvLike = process.env)
| 71 | * @param env Environment variables to check (defaults to process.env for production use) |
| 72 | */ |
| 73 | export function getNoProxy(env: EnvLike = process.env): string | undefined { |
| 74 | return env.no_proxy || env.NO_PROXY |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Check if a URL should bypass the proxy based on NO_PROXY environment variable |