mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Nice properties reuse, v2rayN.
This commit is contained in:
@@ -152,7 +152,7 @@ namespace Netch.Servers
|
||||
var tlsSettings = new TlsSettings
|
||||
{
|
||||
allowInsecure = Global.Settings.V2RayConfig.AllowInsecure,
|
||||
serverName = server.ServerName.ValueOrDefault() ?? server.Hostname
|
||||
serverName = server.ServerName.ValueOrDefault() ?? server.Host.SplitOrDefault()?[0]
|
||||
};
|
||||
|
||||
switch (server.TLSSecureType)
|
||||
|
||||
Reference in New Issue
Block a user