pull/6843/merge
Patrick Othmer 4 months ago committed by GitHub
commit 76039aba6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -75,11 +75,7 @@ module.exports = {
}
function getTlsOptions(conf) {
if (!conf.tlsEnabled) {
return {}
}
if (!conf.tlsCertPath) {
if (!conf.tlsEnabled || !conf.tlsCertPath) {
return {
rejectUnauthorized: conf.verifyTLSCertificate
}

Loading…
Cancel
Save