diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index f1b8d78a..49cbac6c 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -264,7 +264,7 @@ module.exports = { }, mapping: { '*.github.com': 'quad9', - '*.*github*.com': 'quad9', + '*github*.com': 'quad9', '*.github.io': 'quad9', '*.docker.com': 'quad9', '*.docker*.com': 'quad9', diff --git a/packages/core/src/config/remote_config.json5 b/packages/core/src/config/remote_config.json5 index 27f38fc6..e004e97b 100644 --- a/packages/core/src/config/remote_config.json5 +++ b/packages/core/src/config/remote_config.json5 @@ -43,6 +43,7 @@ "plugin": { "overwall": { "targets": { + "*.github.com": true, "*github*.com": true, "*.wikimedia.org": true, "v2ex.com": true, diff --git a/packages/core/src/modules/plugin/overwall/config.js b/packages/core/src/modules/plugin/overwall/config.js index edbafb98..3c40e1f0 100644 --- a/packages/core/src/modules/plugin/overwall/config.js +++ b/packages/core/src/modules/plugin/overwall/config.js @@ -13,7 +13,7 @@ module.exports = { '*.github.com': true, '*github*.com': true, '*.wikimedia.org': true, - '*.v2ex.com': true, + 'v2ex.com': true, '*.azureedge.net': true, '*.cloudfront.net': true, '*.bing.com': true, @@ -36,7 +36,10 @@ module.exports = { '*.intlify.dev': true, '*.segment.io': true, '*.shields.io': true, - '*.jsdelivr.net': true + '*.jsdelivr.net': true, + '*.openai.com': true, + '*.chatgpt.com': true, + '*.oaistatic.com': true }, pac: { enabled: true,