We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d8a1b commit e1ee8e4Copy full SHA for e1ee8e4
1 file changed
webhooks/index.js
@@ -442,11 +442,12 @@ class Webhooks {
442
}
443
};
444
if (q.protocol == "https:") {
445
- logger.debug("Setting rejectUnauthorized: false");
446
- const httpsAgent = new protocol.Agent({
447
- rejectUnauthorized: false // (NOTE: this will disable client verification)
448
- });
449
- options.httpsAgent = httpsAgent;
+ process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"
+ // logger.debug("Setting rejectUnauthorized: false");
+ // const httpsAgent = new protocol.Agent({
+ // rejectUnauthorized: false // (NOTE: this will disable client verification)
+ // });
450
+ // options.httpsAgent = httpsAgent;
451
452
logger.debug("Using request options:", options);
453
try {
0 commit comments