diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 14ed35c8..55d9d273 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -162,12 +162,7 @@ namespace ServiceLib.Handler Length = "100-200", Interval = "10-20" }; - - if (Utils.IsNotEmpty(config.ConstItem.DefIEProxyExceptions)) - { - config.SystemProxyItem.SystemProxyExceptions = $"{config.ConstItem.DefIEProxyExceptions};{config.SystemProxyItem.SystemProxyExceptions}"; - config.ConstItem.DefIEProxyExceptions = string.Empty; - } + if (config.SystemProxyItem.SystemProxyExceptions.IsNullOrEmpty()) { config.SystemProxyItem.SystemProxyExceptions = Utils.IsWindows() ? Global.SystemProxyExceptionsWindows : Global.SystemProxyExceptionsLinux; diff --git a/v2rayN/ServiceLib/Models/ConfigItems.cs b/v2rayN/ServiceLib/Models/ConfigItems.cs index ed306fe1..66b0ffc9 100644 --- a/v2rayN/ServiceLib/Models/ConfigItems.cs +++ b/v2rayN/ServiceLib/Models/ConfigItems.cs @@ -118,7 +118,6 @@ [Serializable] public class ConstItem { - public string DefIEProxyExceptions { get; set; } public string SubConvertUrl { get; set; } = string.Empty; public string? GeoSourceUrl { get; set; } public string? SrsSourceUrl { get; set; }