From 5927f032db4dc0ce78364e889ab4a66d209bf81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Wed, 3 Jul 2024 16:41:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/remote_config.json5 | 2 +- packages/core/src/modules/proxy/index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/core/src/config/remote_config.json5 b/packages/core/src/config/remote_config.json5 index 03ec2602..cb4626c0 100644 --- a/packages/core/src/config/remote_config.json5 +++ b/packages/core/src/config/remote_config.json5 @@ -39,7 +39,7 @@ "objects-origin.githubusercontent.com": true, // cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。 - 'challenges.cloudflare.com': true + "challenges.cloudflare.com": true } }, "plugin": { diff --git a/packages/core/src/modules/proxy/index.js b/packages/core/src/modules/proxy/index.js index 3b841ec5..8f0f74c7 100644 --- a/packages/core/src/modules/proxy/index.js +++ b/packages/core/src/modules/proxy/index.js @@ -176,7 +176,10 @@ module.exports = { // 网站ICP备案查询 '*.icpapi.com': true, - // cloudflare + // Github文件上传所使用的域名,被DS代理会导致文件上传经常失败,从系统代理中排除掉 + 'objects-origin.githubusercontent.com': true, + + // cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。 'challenges.cloudflare.com': true, // endregion