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) { function getTlsOptions(conf) {
if (!conf.tlsEnabled) { if (!conf.tlsEnabled || !conf.tlsCertPath) {
return {}
}
if (!conf.tlsCertPath) {
return { return {
rejectUnauthorized: conf.verifyTLSCertificate rejectUnauthorized: conf.verifyTLSCertificate
} }

Loading…
Cancel
Save