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