From 613fb87d441596c77afa679c858e7c2533c0f41f Mon Sep 17 00:00:00 2001 From: tefiszx Date: Thu, 12 Oct 2023 08:45:04 +0800 Subject: [PATCH] formatted code writing --- .../model/cbi/shadowsocksr/client-config.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua index ef864c924..d8f5ca14f 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua @@ -370,43 +370,43 @@ o.default = "0" --[[Hysteria2 QUIC parameters setting]] o = s:option(Value, "initstreamreceivewindow", translate("QUIC initStreamReceiveWindow")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.datatype = "uinteger" o.rmempty = true o.default = "8388608" o = s:option(Value, "maxstreamseceivewindow", translate("QUIC maxStreamReceiveWindow")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.datatype = "uinteger" o.rmempty = true o.default = "8388608" o = s:option(Value, "initconnreceivewindow", translate("QUIC initConnReceiveWindow")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.datatype = "uinteger" o.rmempty = true o.default = "20971520" o = s:option(Value, "maxconnreceivewindow", translate("QUIC maxConnReceiveWindow")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.datatype = "uinteger" o.rmempty = true o.default = "20971520" o = s:option(Value, "maxidletimeout", translate("QUIC maxIdleTimeout(Unit:second)")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.rmempty = true o.datatype = "uinteger" o.default = "30" o = s:option(Value, "keepaliveperiod", translate("The keep-alive period.(Unit:second)")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.rmempty = true o.datatype = "uinteger" o.default = "10" o = s:option(Flag, "disablepathmtudiscovery", translate("Disable Path MTU discovery")) -o:depends({type = "hysteria",flag_quicparam = "1"}) +o:depends({type = "hysteria", flag_quicparam = "1"}) o.rmempty = true o.default = false @@ -907,7 +907,7 @@ o.description = translate("If true, allowss insecure connection at TLS client, e -- [[ Hysteria2 TLS pinSHA256 ]] -- o = s:option(Value, "pinsha256", translate("Certificate fingerprint")) -o:depends({type ="hysteria", insecure = true }) +o:depends({type = "hysteria", insecure = true }) o.rmempty = true -- [[ Mux ]]--