From e21f74bb94d6cafe2eda0f7d48974155115f55b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Tue, 18 Jun 2024 14:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E4=BB=A3=E7=90=86=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E5=88=97=E8=A1=A8=E4=B8=AD=EF=BC=8C=E6=8E=92=E9=99=A4?= =?UTF-8?q?=20challenges.cloudflare.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/remote_config.json5 | 5 ++++- packages/core/src/modules/proxy/index.js | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/core/src/config/remote_config.json5 b/packages/core/src/config/remote_config.json5 index 35309c09..03ec2602 100644 --- a/packages/core/src/config/remote_config.json5 +++ b/packages/core/src/config/remote_config.json5 @@ -36,7 +36,10 @@ "proxy": { "excludeIpList": { // Github文件上传所使用的域名,被DS代理会导致文件上传经常失败,从系统代理中排除掉 - "objects-origin.githubusercontent.com": true + "objects-origin.githubusercontent.com": true, + + // cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。 + 'challenges.cloudflare.com': true } }, "plugin": { diff --git a/packages/core/src/modules/proxy/index.js b/packages/core/src/modules/proxy/index.js index fd723397..3b841ec5 100644 --- a/packages/core/src/modules/proxy/index.js +++ b/packages/core/src/modules/proxy/index.js @@ -176,6 +176,9 @@ module.exports = { // 网站ICP备案查询 '*.icpapi.com': true, + // cloudflare + 'challenges.cloudflare.com': true, + // endregion // 本地地址,无需代理