Selaa lähdekoodia

luci-app-ssr-plus: client-config: fix typo error

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 2 vuotta sitten
vanhempi
sitoutus
29167911e5

+ 2 - 2
luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua

@@ -147,7 +147,7 @@ o.rawhtml = true
 o.template = "shadowsocksr/ssrurl"
 o.value = sid
 
-o = s:option(Value, "type", translate("Server Node Type"))
+o = s:option(ListValue, "type", translate("Server Node Type"))
 if is_finded("xray") or is_finded("v2ray") then
 	o:value("v2ray", translate("V2Ray/XRay"))
 end
@@ -714,7 +714,7 @@ o.default = "0"
 
 if is_finded("xray") then
 	-- [[ uTLS ]]--
-	o = s:option(ListValue, "fingerprint", translate("Finger Print"))
+	o = s:option(Value, "fingerprint", translate("Finger Print"))
 	o:value("", translate("disable"))
 	o:value("chrome", translate("chrome"))
 	o:value("firefox", translate("firefox"))