mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Add duckdns.org to reject hosts
This commit is contained in:
@@ -66,7 +66,7 @@ module.exports = ({ chunk }) => {
|
|||||||
|
|
||||||
// duckdns.org domain will not overlap and doesn't need dedupe
|
// duckdns.org domain will not overlap and doesn't need dedupe
|
||||||
function canExcludeFromDedupe(domain) {
|
function canExcludeFromDedupe(domain) {
|
||||||
if (domain.endsWith('.duckdns.org')) {
|
if (domain.length === 23 && domain.endsWith('.duckdns.org')) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ DOMAIN-KEYWORD,49329d48d6c.
|
|||||||
DOMAIN-KEYWORD,vsvevvcca
|
DOMAIN-KEYWORD,vsvevvcca
|
||||||
DOMAIN-KEYWORD,envci.
|
DOMAIN-KEYWORD,envci.
|
||||||
DOMAIN-KEYWORD,aarsenvs.
|
DOMAIN-KEYWORD,aarsenvs.
|
||||||
|
DOMAIN-SUFFIX,duckdns.org
|
||||||
|
|
||||||
# --- End of Blacklist Section
|
# --- End of Blacklist Section
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user