mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
feat: V2Ray AllowInsecure Setting
This commit is contained in:
@@ -244,7 +244,7 @@ namespace Netch.Servers.VMess.Utils
|
|||||||
|
|
||||||
var tlsSettings = new TlsSettings
|
var tlsSettings = new TlsSettings
|
||||||
{
|
{
|
||||||
allowInsecure = true
|
allowInsecure = Global.Settings.V2RayConfig.AllowInsecure
|
||||||
};
|
};
|
||||||
if (!string.IsNullOrWhiteSpace(host))
|
if (!string.IsNullOrWhiteSpace(host))
|
||||||
{
|
{
|
||||||
@@ -330,7 +330,7 @@ namespace Netch.Servers.VMess.Utils
|
|||||||
|
|
||||||
var xtlsSettings = new TlsSettings
|
var xtlsSettings = new TlsSettings
|
||||||
{
|
{
|
||||||
allowInsecure = true
|
allowInsecure = Global.Settings.V2RayConfig.AllowInsecure
|
||||||
};
|
};
|
||||||
if (!string.IsNullOrWhiteSpace(host))
|
if (!string.IsNullOrWhiteSpace(host))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user