Fix: Pass rejectUnauthorized to Socks Proxy

pull/2988/head
Nelson Chan 2 years ago
parent 89bfc3bf33
commit 8ee4b844fd

@ -132,6 +132,9 @@ class Proxy {
...httpAgentOptions,
...httpsAgentOptions,
...proxyOptions,
tls: {
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
},
});
httpAgent = agent;

Loading…
Cancel
Save