luci-app-vssr: sync with upstream source

This commit is contained in:
CN_SZTL 2020-02-21 01:35:24 +08:00
parent bcf439d38b
commit 69d43ad135
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -31,7 +31,7 @@ s.servers = cjson.encode(server_table)
s.template = "vssr/tblsection"
s.extedit = luci.dispatcher.build_url("admin/vpn/vssr/servers/%s")
function s.create(...)
local sid = TypedSection.create(...)
local sid = TypedSection.create(...)
if sid then
luci.http.redirect(s.extedit % sid)
return