From f3986ee8acce1cfdc75eb0471309317c4d1aa5be Mon Sep 17 00:00:00 2001 From: xiaorouji <60100640+xiaorouji@users.noreply.github.com> Date: Sat, 26 Aug 2023 01:15:32 +0800 Subject: [PATCH] luci: fixup 52e0cc5 --- luci-app-passwall2/Makefile | 2 +- .../luasrc/model/cbi/passwall2/client/type/ray.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index 020a31c38..574fbadba 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 -PKG_VERSION:=1.19-2 +PKG_VERSION:=1.19-3 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua index a0654433a..83fa7e5ec 100644 --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua +++ b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua @@ -394,6 +394,8 @@ o:value("", translate("Disable")) o:value("xtls-rprx-vision") o:value("xtls-rprx-vision-udp443") add_xray_depends(o, { xray_protocol = "vless", xray_tls = true, transport = "tcp" }) +o.cfgvalue = rm_prefix_cfgvalue +o.write = rm_prefix_write o = s:option(Flag, "reality", translate("REALITY"), translate("Only recommend to use with VLESS-TCP-XTLS-Vision.")) o.default = 0