mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 02:47:24 +00:00
Merge pull request #2988 from chakflying/fix/socks-rejectUnauthorized
Fix: Pass rejectUnauthorized to Socks Proxy
This commit is contained in:
commit
de0d1edfd4
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ class Proxy {
|
||||||
...httpAgentOptions,
|
...httpAgentOptions,
|
||||||
...httpsAgentOptions,
|
...httpsAgentOptions,
|
||||||
...proxyOptions,
|
...proxyOptions,
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
httpAgent = agent;
|
httpAgent = agent;
|
||||||
|
|
Loading…
Reference in a new issue