fix: 修复增强功能中自定义域名无效的bug
parent
6fe4684665
commit
31d64d802c
|
@ -161,6 +161,8 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
mapping: {
|
||||
'*yarnpkg.com': 'usa',
|
||||
'*cloudfront.net': 'usa',
|
||||
'*github.io': 'usa',
|
||||
'img.shields.io': 'usa',
|
||||
'*.github.com': 'usa',
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports = function createOverWallIntercept (overWallConfig) {
|
|||
if (keys.length === 0) {
|
||||
return null
|
||||
}
|
||||
const regexpMap = matchUtil.domainMapRegexply(overWallConfig.intercepts)
|
||||
const regexpMap = matchUtil.domainMapRegexply(overWallConfig.targets)
|
||||
return {
|
||||
sslConnectInterceptor: (req, cltSocket, head) => {
|
||||
const hostname = req.url.split(':')[0]
|
||||
|
|
Loading…
Reference in New Issue