luci ssr plus: update ssr server settings

This commit is contained in:
coolsnowwolf 2018-11-25 20:03:47 +08:00
parent 79b76a8d99
commit 67dc07a2cd
3 changed files with 1 additions and 14 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=1
PKG_RELEASE:=59
PKG_RELEASE:=60
PO2LMO:=$(STAGING_DIR_HOSTPKG)/bin/po2lmo

View File

@ -68,11 +68,6 @@ o = s:option(Flag, "enable", translate("Enable"))
o.default = 1
o.rmempty = false
o = s:option(Value, "server", translate("Server Address"))
o.datatype = "ipaddr"
o.default = "0.0.0.0"
o.rmempty = false
o = s:option(Value, "server_port", translate("Server Port"))
o.datatype = "port"
o.default = 8388

View File

@ -69,7 +69,6 @@ o.rmempty = false
sec = m:section(TypedSection, "server_config", translate("Server Setting"))
sec.anonymous = true
sec.addremove = true
sec.sortable = true
sec.template = "cbi/tblsection"
sec.extedit = luci.dispatcher.build_url("admin/services/shadowsocksr/server/%s")
function sec.create(...)
@ -86,11 +85,6 @@ function o.cfgvalue(...)
end
o.rmempty = false
o = sec:option(DummyValue, "server", translate("Server Address"))
function o.cfgvalue(...)
return Value.cfgvalue(...) or "?"
end
o = sec:option(DummyValue, "server_port", translate("Server Port"))
function o.cfgvalue(...)
return Value.cfgvalue(...) or "?"
@ -117,6 +111,4 @@ end
return m