Skip to content

Commit

Permalink
Fix: Pass rejectUnauthorized to Socks Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying committed Mar 28, 2023
1 parent 89bfc3b commit 8ee4b84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ class Proxy {
...httpAgentOptions,
...httpsAgentOptions,
...proxyOptions,
tls: {
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
},
});

httpAgent = agent;
Expand Down

0 comments on commit 8ee4b84

Please sign in to comment.