瀏覽代碼

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

Fixes: #1151

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 2 年之前
父節點
當前提交
7af00349eb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua

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

@@ -467,13 +467,13 @@ if is_finded("v2ray") then
 	o = s:option(Value, "ws_ed", translate("Max Early Data"))
 	o:depends("ws_ed_enable", true)
 	o.datatype = "uinteger"
-	o.value("2048")
+	o:value("2048")
 	o.rmempty = true
 
 	-- WS前置数据标头
 	o = s:option(Value, "ws_ed_header", translate("Early Data Header Name"))
 	o:depends("ws_ed_enable", true)
-	o.value("Sec-WebSocket-Protocol")
+	o:value("Sec-WebSocket-Protocol")
 	o.rmempty = true
 end