diff --git a/Makefile b/Makefile index 0643c14..f49a6b3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-frpc -PKG_VERSION:=1.2.0 +PKG_VERSION:=1.2.1 PKG_RELEASE:=1 PKG_LICENSE:=MIT diff --git a/luasrc/model/cbi/frpc/common.lua b/luasrc/model/cbi/frpc/common.lua index 301b863..886e2e9 100644 --- a/luasrc/model/cbi/frpc/common.lua +++ b/luasrc/model/cbi/frpc/common.lua @@ -59,6 +59,7 @@ s:tab("manage", translate("Manage Options")) o = s:taboption("general", Flag, "enabled", translate("Enabled")) o = s:taboption("general", Value, "client_file", translate("Client file"), frpc_version()) +o.datatype = "file" o.rmempty = false o = s:taboption("general", ListValue, "server", translate("Server"))