撤回部分代码。
parent
22fd8e7d92
commit
a1a4bd12a7
|
@ -118,11 +118,6 @@ module.exports = {
|
||||||
desc: '仓库内脚本,重定向改为代理,并设置响应头Content-Type。作用:方便script拦截器直接使用,避免引起跨域问题和脚本内容限制问题。'
|
desc: '仓库内脚本,重定向改为代理,并设置响应头Content-Type。作用:方便script拦截器直接使用,避免引起跨域问题和脚本内容限制问题。'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'*.github.com': {
|
|
||||||
'.*': {
|
|
||||||
sni: 'baidu.com'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'github-releases.githubusercontent.com': {
|
'github-releases.githubusercontent.com': {
|
||||||
'.*': {
|
'.*': {
|
||||||
sni: 'baidu.com'
|
sni: 'baidu.com'
|
||||||
|
@ -142,6 +137,11 @@ module.exports = {
|
||||||
sni: 'baidu.com'
|
sni: 'baidu.com'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'collector.github.com': {
|
||||||
|
'.*': {
|
||||||
|
sni: 'baidu.com'
|
||||||
|
}
|
||||||
|
},
|
||||||
'customer-stories-feed.github.com': {
|
'customer-stories-feed.github.com': {
|
||||||
'.*': { proxy: 'customer-stories-feed.fastgit.org' }
|
'.*': { proxy: 'customer-stories-feed.fastgit.org' }
|
||||||
},
|
},
|
||||||
|
@ -181,6 +181,9 @@ module.exports = {
|
||||||
'^/_private/browser/stats$': {
|
'^/_private/browser/stats$': {
|
||||||
success: true,
|
success: true,
|
||||||
desc: 'github的访问速度分析上传,没有必要,直接返回成功'
|
desc: 'github的访问速度分析上传,没有必要,直接返回成功'
|
||||||
|
},
|
||||||
|
'.*': {
|
||||||
|
sni: 'baidu.com'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'*.docker.com': {
|
'*.docker.com': {
|
||||||
|
|
Loading…
Reference in New Issue