8729a8702
1 2 3 4 5 6 7 8 9 10 11 12 13 14
function getProxy () { return process.env.HTTPS_PROXY || process.env.HTTP_PROXY || undefined } function isProxyEnabled () { return !!getProxy() } export { getProxy, isProxyEnabled }