Skip to content

Commit a89aae6

Browse files
feature: unVerifySsl拦截器,可以使用 { ssl: false } 进行配置,更容易理解。
1 parent 5df795d commit a89aae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mitmproxy/src/lib/interceptor/impl/req/unVerifySsl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ module.exports = {
1616
return true
1717
},
1818
is (interceptOpt) {
19-
return interceptOpt.unVerifySsl === true
19+
return interceptOpt.unVerifySsl === true || interceptOpt.ssl === false
2020
},
2121
}

0 commit comments

Comments
 (0)