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