From d4b97a99e0e5af7e9671e464dbf577d27c38e451 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Wed, 21 Oct 2020 22:09:53 +0800 Subject: [PATCH] feat: V2Ray AllowInsecure Setting --- Netch/Servers/VMess/Utils/V2rayConfigUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {