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 // 本地地址,无需代理