mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-08-03 07:59:09 +08:00
Update luci-app-passwall.patch
This commit is contained in:
parent
7e4576cfbe
commit
67bbb21561
9
.github/diy/patches/luci-app-passwall.patch
vendored
9
.github/diy/patches/luci-app-passwall.patch
vendored
@ -237,7 +237,7 @@
|
||||
|
||||
--- a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua
|
||||
+++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua
|
||||
@@ -547,6 +547,28 @@ function o.cfgvalue(self, section)
|
||||
@@ -547,6 +547,33 @@ function o.cfgvalue(self, section)
|
||||
api.url("flush_set") .. "?redirect=1&reload=1", set_title)
|
||||
end
|
||||
|
||||
@ -256,12 +256,17 @@
|
||||
+o.description = string.format("<strong>"..translate("Last Update Checked")..":</strong> %s<br/>",UD)
|
||||
+o:depends("adblock",1)
|
||||
+
|
||||
+o = s:taboption("DNS", DynamicList, "ad_url", translate("Anti-AD Rules Subscribe"))
|
||||
+o = s:taboption("DNS", DynamicList, "ad_url", translate("Adblock Rules Subscribe"))
|
||||
+o:value("https://cdn.jsdelivr.net/gh/217heidai/adblockfilters@main/rules/adblockdomainlite.txt", translate("AdBlock DNS Filters"))
|
||||
+o:value("https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-domains.txt", translate("anti-AD"))
|
||||
+o.default = "https://cdn.jsdelivr.net/gh/217heidai/adblockfilters@main/rules/adblockdomainlite.txt"
|
||||
+o.description = translate("Support Domain / Dnsmasq / AdGuardHome / Hosts format list")
|
||||
+o:depends("adblock",1)
|
||||
+
|
||||
+o = s:taboption("DNS", DynamicList, "white_list", translate("Adblock white list"))
|
||||
+o.datatype = "host"
|
||||
+o.rmempty = true
|
||||
+o:depends("adblock",1)
|
||||
+
|
||||
s:tab("Proxy", translate("Mode"))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user