refactor: 1

pull/88/head
xiaojunnuo 2021-08-17 21:20:27 +08:00
parent 083d6f3467
commit af2dcbe49c
1 changed files with 119 additions and 119 deletions

View File

@ -77,7 +77,7 @@ module.exports = {
}
},
'customer-stories-feed.github.com': {
'.*': {proxy: 'customer-stories-feed.fastgit.org'}
'.*': { proxy: 'customer-stories-feed.fastgit.org' }
},
'raw.githubusercontent.com': {
@ -109,11 +109,11 @@ module.exports = {
'.*': {
proxy: 'v2ex.com',
sni: 'baidu.com'
},
}
},
// google cdn
'www.google.com': {
'/recaptcha/.*': {proxy: 'www.recaptcha.net'}
'/recaptcha/.*': { proxy: 'www.recaptcha.net' }
// '.*': {
// proxy: 'gg.docmirror.top/_yxorp',
// desc: '呀,被你发现了,偷偷的用,别声张'
@ -140,7 +140,7 @@ module.exports = {
}
},
'themes.googleusercontent.com': {
'.*': {proxy: 'google-themes.proxy.ustclug.org'}
'.*': { proxy: 'google-themes.proxy.ustclug.org' }
},
// 'fonts.gstatic.com': {
// '.*': {
@ -148,9 +148,9 @@ module.exports = {
// backup: ['fonts-gstatic.proxy.ustclug.org']
// }
// },
'clients*.google.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
'www.googleapis.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
'lh*.googleusercontent.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
'clients*.google.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
'www.googleapis.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
'lh*.googleusercontent.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
// mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-win32-x64.tar.gz
'*.s3.amazonaws.com': {
'/sqlite3/.*': {
@ -233,4 +233,4 @@ module.exports = {
},
proxy: {},
plugin: {}
}
}