mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 20:45:13 +08:00
update 2026-09-18 00:04:33
This commit is contained in:
1 parent
bb875f0160
commit
1f24c42f3b
1959 files changed
+1523085
-2
No files matched your search
@@ -1461,6 +1461,7 @@ function gen_config(var)
|
||||
string.gsub(e.domain_list, '[^' .. "\r\n" .. ']+', function(w)
|
||||
if w:find("#") == 1 then return end
|
||||
if w:find("rule-set:", 1, true) == 1 or w:find("rs:") == 1 then return end
|
||||
if w:find("ext:", 1, true) == 1 then return end -- Rule currently not support ext:
|
||||
table.insert(domains, w)
|
||||
table.insert(domain_table.domain, w)
|
||||
end)
|
||||
@@ -1483,6 +1484,7 @@ function gen_config(var)
|
||||
string.gsub(e.ip_list, '[^' .. "\r\n" .. ']+', function(w)
|
||||
if w:find("#") == 1 then return end
|
||||
if w:find("rule-set:", 1, true) == 1 or w:find("rs:") == 1 then return end
|
||||
if w:find("ext:", 1, true) == 1 then return end -- Rule currently not support ext:
|
||||
table.insert(ip, w)
|
||||
end)
|
||||
if #ip == 0 then ip = nil end
|
||||
|
||||
Reference in new issue
Block a user