Skip to content

Commit 399725d

Browse files
deanlotnodkz
authored andcommitted
fix: add check for uppercase HTTP_PROXY and HTTPS_PROXY for windows users
1 parent 524181b commit 399725d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/util/MongoBinaryDownload.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ export default class MongoBinaryDownload {
107107
process.env['npm_config_https-proxy'] ||
108108
process.env.npm_config_proxy ||
109109
process.env.https_proxy ||
110-
process.env.http_proxy;
110+
process.env.http_proxy ||
111+
process.env.HTTPS_PROXY ||
112+
process.env.HTTP_PROXY;
111113

112114
const urlObject = url.parse(downloadUrl);
113115

0 commit comments

Comments
 (0)