From bb47cc6a6fc69df3e514e30b3bbd70f0d577609f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Tue, 26 Mar 2024 14:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A2=AF=E5=AD=90=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0chatgpt=E5=92=8Copenai=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/index.js | 2 +- packages/core/src/config/remote_config.json5 | 1 + packages/core/src/modules/plugin/overwall/config.js | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index f1b8d78..49cbac6 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 27f38fc..e004e97 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 edbafb9..3c40e1f 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,