From 230834459f4534671d570066ea1cdf980e12654f Mon Sep 17 00:00:00 2001 From: cmliu Date: Thu, 6 Nov 2025 00:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BC=A0=E9=80=92=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E5=99=A8=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_worker.js b/_worker.js index af269b5..e17ba2e 100644 --- a/_worker.js +++ b/_worker.js @@ -207,7 +207,7 @@ export default { let 订阅内容 = ''; if (订阅类型 === 'mixed') { - if (config_JSON.优选订阅生成.local) { // 本地生成订阅 + if (!url.searchParams.has('sub') && config_JSON.优选订阅生成.local) { // 本地生成订阅 const 完整优选列表 = config_JSON.优选订阅生成.本地IP库.随机IP ? (await 生成随机IP(request, config_JSON.优选订阅生成.本地IP库.随机数量))[0] : await env.KV.get('ADD.txt') ? await 整理成数组(await env.KV.get('ADD.txt')) : (await 生成随机IP(request, config_JSON.优选订阅生成.本地IP库.随机数量))[0]; const 优选API = [], 优选IP = []; for (const 元素 of 完整优选列表) {