Fix: Pass rejectUnauthorized to Socks Proxy

This commit is contained in:
Nelson Chan committed 2023-03-28 11:40:19 +08:00
1 parent 89bfc3bf33
commit 8ee4b844fd
1 file changed
+3
+3
View File
@@ -132,6 +132,9 @@ class Proxy {
...httpAgentOptions,
...httpsAgentOptions,
...proxyOptions,
tls: {
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
},
});
httpAgent = agent;