mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 12:56:13 +08:00
Fix: Pass rejectUnauthorized to Socks Proxy
This commit is contained in:
@@ -132,6 +132,9 @@ class Proxy {
|
|||||||
...httpAgentOptions,
|
...httpAgentOptions,
|
||||||
...httpsAgentOptions,
|
...httpsAgentOptions,
|
||||||
...proxyOptions,
|
...proxyOptions,
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
httpAgent = agent;
|
httpAgent = agent;
|
||||||
|
Reference in New Issue
Block a user