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

pull/456/head
王良 2025-02-17 18:03:40 +08:00
parent 5df795df73
commit a89aae6aaf
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
}, },
} }