OpenClash: sync with upstream source

This commit is contained in:
CN_SZTL 2020-05-10 11:48:57 +08:00
parent 345da5313b
commit 62f6c70a39
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 2 additions and 13 deletions

View File

@ -6,7 +6,7 @@ function index()
end
local page
page = entry({"admin", "services", "openclash"}, alias("admin", "services", "openclash", "client"), _("OpenClash"), 50)
page.dependent = true
page.acl_depends = { "luci-app-openclash" }

View File

@ -43,4 +43,4 @@ cfg_server_address()
rm -rf "$SER_FAKE_FILTER_FILE" 2>/dev/null
config_load "openclash"
config_foreach cfg_server_address "servers"
config_foreach cfg_server_address "servers"

View File

@ -1,11 +0,0 @@
{
"luci-app-openclash": {
"description": "Grant UCI access for luci-app-openclash",
"read": {
"uci": [ "openclash" ]
},
"write": {
"uci": [ "openclash" ]
}
}
}