code review

This commit is contained in:
Josh Gross
2020-01-10 18:12:28 -05:00
parent cfcdda9620
commit b1a3f20932
12 changed files with 16 additions and 78 deletions

View File

@@ -17,7 +17,7 @@ export function getProxyUrl(reqUrl: url.Url): url.Url {
bypass = true;
break;
}
}
}
}
let proxyUrl: url.Url;
@@ -34,7 +34,7 @@ export function getProxyUrl(reqUrl: url.Url): url.Url {
proxyVar = process.env["http_proxy"] ||
process.env["HTTP_PROXY"];
}
if (proxyVar) {
proxyUrl = url.parse(proxyVar);
}