Skip to content

Commit

Permalink
Fix npm installer with proxy (#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Oct 5, 2023
1 parent c57d52e commit 6199c68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/npm/v2-jf/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
})
Expand Down
4 changes: 2 additions & 2 deletions build/npm/v2/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
})
Expand Down

0 comments on commit 6199c68

Please sign in to comment.