Fix: Pass rejectUnauthorized to Socks Proxy

This commit is contained in:
Nelson Chan 2023-03-28 11:40:19 +08:00
parent 89bfc3bf33
commit 8ee4b844fd

View File

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