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}` } // 获取代理组的名称