From 1e99404b8e15618a7317b684eceebf84d5b31111 Mon Sep 17 00:00:00 2001 From: Gcaufy Date: Wed, 8 Jul 2020 15:13:18 +0800 Subject: [PATCH] fix: Update proxy --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b02a3d93..fc3d40e0 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ var outFile = 'geckodriver.tar.gz'; var executable = 'geckodriver'; var downloadOptions = {} -var proxy = process.env.HTTPS_PROXY || process.env.HTTP_PROXY || null; +var proxy = process.env.HTTPS_PROXY || process.env.HTTP_PROXY || process.env.https_proxy || process.env.http_proxy || null; if (proxy !== null) { downloadOptions.agent = new proxyAgent(proxy); }