mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +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
|
||||
function canExcludeFromDedupe(domain) {
|
||||
if (domain.endsWith('.duckdns.org')) {
|
||||
if (domain.length === 23 && domain.endsWith('.duckdns.org')) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user