mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
Revert "feat: V2Ray TLS AllowInsecure Setting"
This reverts commit 591f8e5a5c.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System.Collections.Generic;
|
||||
using Netch.Forms;
|
||||
|
||||
namespace Netch.Servers.VLESS.VLESSForm
|
||||
@@ -39,19 +38,9 @@ namespace Netch.Servers.VLESS.VLESSForm
|
||||
s => true,
|
||||
s => server.Path = s,
|
||||
server.Path);
|
||||
CreateComboBox("TLSSecure", "TLS Secure",
|
||||
new List<string> {"", "true", "false"},
|
||||
s =>
|
||||
{
|
||||
server.TLSSecure = s switch
|
||||
{
|
||||
"" => null,
|
||||
"true" => true,
|
||||
"false" => false,
|
||||
_ => null
|
||||
};
|
||||
},
|
||||
server.TLSSecure?.ToString() ?? string.Empty);
|
||||
CreateCheckBox("TLSSecure", "TLS Secure",
|
||||
b => server.TLSSecure = b,
|
||||
server.TLSSecure);
|
||||
CreateCheckBox("UseMux", "Use Mux",
|
||||
b => server.UseMux = b,
|
||||
server.UseMux);
|
||||
|
||||
Reference in New Issue
Block a user