diff --git a/package/lean/luci-app-ssr-plus/root/usr/share/shadowsocksr/genv2config.lua b/package/lean/luci-app-ssr-plus/root/usr/share/shadowsocksr/genv2config.lua index d9b767a349..c325df2212 100644 --- a/package/lean/luci-app-ssr-plus/root/usr/share/shadowsocksr/genv2config.lua +++ b/package/lean/luci-app-ssr-plus/root/usr/share/shadowsocksr/genv2config.lua @@ -46,7 +46,7 @@ local v2ray = { streamSettings = { network = server.transport, security = (server.tls == '1') and "tls" or "none", - allowInsecure = (server.insecure == "1") and true or false, + tlsSettings = {allowInsecure = (server.insecure == "1") and true or false,}, kcpSettings = (server.transport == "kcp") and { mtu = tonumber(server.mtu), tti = tonumber(server.tti), @@ -84,4 +84,4 @@ local v2ray = { } } } -print(json.stringify(v2ray)) \ No newline at end of file +print(json.stringify(v2ray))