luci-app-ssr-plus: allowInsecure default on

This commit is contained in:
coolsnowwolf 2020-02-20 21:20:16 +08:00
parent 104f01fb0c
commit 6561323807
2 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,7 @@ o = s:option(Flag, "insecure", translate("allowInsecure"))
o.rmempty = true
o:depends("type", "v2ray")
o:depends("type", "trojan")
o.default = "1"
-- [[ TLS ]]--
o = s:option(Flag, "tls", translate("TLS"))

View File

@ -136,6 +136,7 @@ local function processData(szType, content)
result.alter_id = info.aid
result.vmess_id = info.id
result.alias = info.ps
result.insecure = 1
-- result.mux = 1
-- result.concurrency = 8
if info.net == 'ws' then