luci-app-ssr-plus: allowInsecure by default

This commit is contained in:
CN_SZTL 2020-02-20 22:06:30 +08:00
parent 9b489ee812
commit e7c0870d72
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
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