From d1a41a01212f5d9bb6a8a8bbe4a51a8908c07db5 Mon Sep 17 00:00:00 2001 From: vpt Date: Wed, 6 Dec 2023 10:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20clash.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clash.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clash.js b/clash.js index b390edf..0f1aa3c 100644 --- a/clash.js +++ b/clash.js @@ -37,9 +37,8 @@ function getRuleItem(match, direct) { const groupName = direct ? directGroupName : proxyGroupName if (isIPAddress(match)) { return `IP-CIDR,${match}/24,${groupName},no-resolve` - } else { - return `DOMAIN-SUFFIX,${match},${proxyGroupName}` } + return `DOMAIN-SUFFIX,${match},${proxyGroupName}` } // 获取代理组的名称