Skip to content

Commit

Permalink
fix: remote snippets containing IP-ASN with no-resolve
Browse files Browse the repository at this point in the history
before: IP-ASN,211157,no-resolve,🚀 Proxy
after:  IP-ASN,211157,🚀 Proxy,no-resolve
  • Loading branch information
we11adam committed Nov 5, 2023
1 parent 990d31d commit 1b00a6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/remote-snippet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const addProxyToSurgeRuleSet = (
return `${item},${proxyName}`
case 'IP-CIDR':
case 'IP-CIDR6':
case 'IP-ASN':
case 'GEOIP':
rule.splice(2, 0, proxyName)
return rule.join(',')
Expand Down

0 comments on commit 1b00a6c

Please sign in to comment.