mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 06:30:59 +00:00
luci-app: Fixed tools.js, ACL
This commit is contained in:
@@ -202,7 +202,7 @@ return baseclass.extend({
|
||||
},
|
||||
|
||||
load: function() {
|
||||
return fs.read(this.file);
|
||||
return L.resolveDefault(fs.read(this.file), '');
|
||||
},
|
||||
|
||||
render: function(content) {
|
||||
@@ -219,7 +219,7 @@ return baseclass.extend({
|
||||
'wrap': 'off',
|
||||
'spellcheck': 'false',
|
||||
},
|
||||
content || '')
|
||||
content)
|
||||
)
|
||||
),
|
||||
]),
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"read": {
|
||||
"cgi-io": [ "exec" ],
|
||||
"file": {
|
||||
"/usr/bin": [ "list" ],
|
||||
"/usr/libexec/ruantiblock": [ "list" ],
|
||||
"/etc/ruantiblock/fqdn_filter": [ "read" ],
|
||||
"/etc/ruantiblock/ip_filter": [ "read" ],
|
||||
"/etc/ruantiblock/user_entries": [ "read" ],
|
||||
|
||||
Reference in New Issue
Block a user