luci-app-vssr: sync with upstream source

This commit is contained in:
CN_SZTL 2020-01-29 00:52:49 +08:00
parent bfcb22ac59
commit 66d3af4eec
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -6,6 +6,7 @@ function index()
if not nixio.fs.access("/etc/config/vssr") then return end
if nixio.fs.access("/usr/bin/ssr-redir") then
entry({"admin", "vpn"}, firstchild(), "VPN", 45).dependent = false
entry({"admin", "vpn", "vssr"},
alias("admin", "vpn", "vssr", "client"), _("vssr"), 10).dependent =
true -- 首页
@ -380,4 +381,4 @@ function get_flag()
e.flag = luci.sys.exec(cmd1)
luci.http.prepare_content("application/json")
luci.http.write_json(e)
end
end