更新 clash.js
This commit is contained in:
parent
9fd3af86b0
commit
d1a41a0121
3
clash.js
3
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}`
|
||||
}
|
||||
|
||||
// 获取代理组的名称
|
||||
|
Loading…
Reference in New Issue
Block a user