From 4430c9bd747a3d21788aaceef6c12fd1bfa56b47 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:37:14 +0800 Subject: [PATCH] Remove the last rule from the Whitelist https://github.com/2dust/v2rayN/issues/6378 --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 2 +- v2rayN/ServiceLib/Sample/custom_routing_white | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 29a76a09..c1ff96ca 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -68,7 +68,7 @@ namespace ServiceLib.Handler config.RoutingBasicItem ??= new(); if (Utils.IsNullOrEmpty(config.RoutingBasicItem.DomainStrategy)) { - config.RoutingBasicItem.DomainStrategy = Global.DomainStrategies.First();//"IPIfNonMatch"; + config.RoutingBasicItem.DomainStrategy = Global.DomainStrategies.First(); } config.KcpItem ??= new KcpItem diff --git a/v2rayN/ServiceLib/Sample/custom_routing_white b/v2rayN/ServiceLib/Sample/custom_routing_white index 750bd6d4..21453848 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_white +++ b/v2rayN/ServiceLib/Sample/custom_routing_white @@ -99,10 +99,5 @@ "domain": [ "geosite:cn" ] - }, - { - "remarks": "最终代理", - "port": "0-65535", - "outboundTag": "proxy" } ] \ No newline at end of file