feature: unVerifySsl拦截器,可以使用 `{ ssl: false }` 进行配置,更容易理解。

develop
王良 2025-02-17 18:03:40 +08:00
parent 9a24eaa325
commit 862663dd37
1 changed files with 1 additions and 1 deletions

View File

@ -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
}, },
} }