VPN bypass LAN By default

This commit is contained in:
2dust
2025-06-07 11:20:37 +08:00
parent 9d1f98ff34
commit 3ead542e2b
2 changed files with 2 additions and 2 deletions
@@ -159,7 +159,7 @@ object SettingsManager {
* @return True if bypassing LAN, false otherwise.
*/
fun routingRulesetsBypassLan(): Boolean {
val vpnBypassLan = MmkvManager.decodeSettingsString(AppConfig.PREF_VPN_BYPASS_LAN) ?: "0"
val vpnBypassLan = MmkvManager.decodeSettingsString(AppConfig.PREF_VPN_BYPASS_LAN) ?: "1"
if (vpnBypassLan == "1") {
return true
} else if (vpnBypassLan == "2") {