更新 clash.js

This commit is contained in:
vpt 2023-12-06 10:49:10 +08:00
parent 9fd3af86b0
commit d1a41a0121

View File

@ -37,9 +37,8 @@ function getRuleItem(match, direct) {
const groupName = direct ? directGroupName : proxyGroupName const groupName = direct ? directGroupName : proxyGroupName
if (isIPAddress(match)) { if (isIPAddress(match)) {
return `IP-CIDR,${match}/24,${groupName},no-resolve` return `IP-CIDR,${match}/24,${groupName},no-resolve`
} else {
return `DOMAIN-SUFFIX,${match},${proxyGroupName}`
} }
return `DOMAIN-SUFFIX,${match},${proxyGroupName}`
} }
// 获取代理组的名称 // 获取代理组的名称