Skip to content

Commit

Permalink
Add geosite:private and make it work (#3418)
Browse files Browse the repository at this point in the history
* Add geosite:private and make it work

* Update AppConfig.kt

---------

Co-authored-by: 2dust <[email protected]>
  • Loading branch information
mayampi01 and 2dust committed Aug 4, 2024
1 parent be30de6 commit 253bd79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ object V2rayConfigUtil {

when (routingMode) {
ERoutingMode.BYPASS_LAN.value -> {
routingGeo("ip", "private", TAG_DIRECT, v2rayConfig)
routingGeo("", "private", TAG_DIRECT, v2rayConfig)
}

ERoutingMode.BYPASS_MAINLAND.value -> {
Expand All @@ -231,7 +231,7 @@ object V2rayConfigUtil {
}

ERoutingMode.BYPASS_LAN_MAINLAND.value -> {
routingGeo("ip", "private", TAG_DIRECT, v2rayConfig)
routingGeo("", "private", TAG_DIRECT, v2rayConfig)
routingGeo("", "cn", TAG_DIRECT, v2rayConfig)
v2rayConfig.routing.rules.add(0, googleapisRoute)
}
Expand Down

0 comments on commit 253bd79

Please sign in to comment.