luci-app-ssr-plus: fix generate SUoT config
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
deee25aa0d
commit
e3178789d2
@ -40,7 +40,7 @@ function trojan_shadowsocks()
|
|||||||
port = tonumber(server.server_port),
|
port = tonumber(server.server_port),
|
||||||
password = server.password,
|
password = server.password,
|
||||||
method = (server.v2ray_protocol == "shadowsocks") and server.encrypt_method_ss or nil,
|
method = (server.v2ray_protocol == "shadowsocks") and server.encrypt_method_ss or nil,
|
||||||
uot = (server.v2ray_protocol == "shadowsocks") and server.uot or nil,
|
uot = (server.v2ray_protocol == "shadowsocks") and (server.uot == '1') or nil,
|
||||||
ivCheck = (server.v2ray_protocol == "shadowsocks") and (server.ivCheck == '1') or nil,
|
ivCheck = (server.v2ray_protocol == "shadowsocks") and (server.ivCheck == '1') or nil,
|
||||||
flow = (server.v2ray_protocol == "trojan") and (server.xtls == '1') and (server.vless_flow and server.vless_flow or "xtls-rprx-splice") or nil
|
flow = (server.v2ray_protocol == "trojan") and (server.xtls == '1') and (server.vless_flow and server.vless_flow or "xtls-rprx-splice") or nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user