We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ebe5c5 commit 5638efeCopy full SHA for 5638efe
1 file changed
webhooks/index.js
@@ -441,6 +441,12 @@ class Webhooks {
441
"Content-Type": "application/json"
442
}
443
};
444
+ if (q.protocol == "https:") {
445
+ const httpsAgent = new protocol.Agent({
446
+ rejectUnauthorized: false // (NOTE: this will disable client verification)
447
+ });
448
+ options.httpsAgent = httpsAgent;
449
+ }
450
try {
451
const req = protocol.request(options, (response) => {
452
logger.debug("statusCode: "+ response.statusCode + " for webhook_endpoint: " + endpoint);
0 commit comments