diff --git a/build/npm/v2-jf/init.js b/build/npm/v2-jf/init.js index 36b3239ef..fcfa5405f 100644 --- a/build/npm/v2-jf/init.js +++ b/build/npm/v2-jf/init.js @@ -25,8 +25,8 @@ function downloadWithProxy(myUrl) { const myUrlParts = new URL(myUrl); request({ - host: proxyparts.hostname, - port: proxyparts.port, + host: proxyParts.hostname, + port: proxyParts.port, method: "CONNECT", path: myUrlParts.hostname + ":443", }) diff --git a/build/npm/v2/init.js b/build/npm/v2/init.js index d67da8a2c..cf676168a 100644 --- a/build/npm/v2/init.js +++ b/build/npm/v2/init.js @@ -25,8 +25,8 @@ function downloadWithProxy(myUrl) { const myUrlParts = new URL(myUrl); request({ - host: proxyparts.hostname, - port: proxyparts.port, + host: proxyParts.hostname, + port: proxyParts.port, method: "CONNECT", path: myUrlParts.hostname + ":443", })