diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index 062a661..e81978a 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -129,12 +129,12 @@ module.exports = { } }, 'camo.githubusercontent.com': { - '.*': { - sni: 'baidu.com' - }, '^[a-zA-Z0-9/]+(\\?.*)?$': { cacheDays: 365, desc: '图片,缓存1年' + }, + '.*': { + sni: 'baidu.com' } }, 'collector.github.com': { @@ -181,6 +181,9 @@ module.exports = { '^/_private/browser/stats$': { success: true, desc: 'github的访问速度分析上传,没有必要,直接返回成功' + }, + '.*': { + sni: 'baidu.com' } }, 'hub.docker.com': {