refactor: dns设置
parent
be85a6c0e9
commit
62c023875a
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
dnsConfig
|
||||
}, callback) {
|
||||
// Don't reject unauthorized
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
|
||||
// process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
|
||||
|
||||
if (!caCertPath && !caKeyPath) {
|
||||
const rs = this.createCA()
|
||||
|
|
Loading…
Reference in New Issue