feature: unVerifySsl拦截器,可以使用 `{ ssl: false }` 进行配置,更容易理解。
parent
9a24eaa325
commit
862663dd37
|
@ -16,6 +16,6 @@ module.exports = {
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
is (interceptOpt) {
|
is (interceptOpt) {
|
||||||
return interceptOpt.unVerifySsl === true
|
return interceptOpt.unVerifySsl === true || interceptOpt.ssl === false
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue