diff --git a/Netch/Servers/VMess/Utils/V2rayConfigUtils.cs b/Netch/Servers/VMess/Utils/V2rayConfigUtils.cs index ad1bb215..9aee246e 100644 --- a/Netch/Servers/VMess/Utils/V2rayConfigUtils.cs +++ b/Netch/Servers/VMess/Utils/V2rayConfigUtils.cs @@ -244,7 +244,7 @@ namespace Netch.Servers.VMess.Utils var tlsSettings = new TlsSettings { - allowInsecure = true + allowInsecure = Global.Settings.V2RayConfig.AllowInsecure }; if (!string.IsNullOrWhiteSpace(host)) { @@ -330,7 +330,7 @@ namespace Netch.Servers.VMess.Utils var xtlsSettings = new TlsSettings { - allowInsecure = true + allowInsecure = Global.Settings.V2RayConfig.AllowInsecure }; if (!string.IsNullOrWhiteSpace(host)) {