1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-24 22:14:47 +02:00

Merge pull request #2988 from chakflying/fix/socks-rejectUnauthorized

Fix: Pass rejectUnauthorized to Socks Proxy
This commit is contained in:
Louis Lam 2023-04-01 00:48:28 +08:00 committed by GitHub
commit de0d1edfd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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