mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-18 17:54:26 +00:00
deploy: 9e124e864e4ea4d2ae0b97c6a99cc6d497632569
This commit is contained in:
@@ -192,7 +192,7 @@ const threads = isCI ? cpuCount : cpuCount / 2;
|
||||
let isTobeRemoved = false;
|
||||
|
||||
for (const keyword of domainKeywordsSet) {
|
||||
if (domain.includes(keyword) || keyword.includes(domain)) {
|
||||
if (domain.includes(keyword)) {
|
||||
isTobeRemoved = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -227,20 +227,11 @@ function canExcludeFromDedupe (domain) {
|
||||
if (
|
||||
// starts with a dot
|
||||
domain.charCodeAt(0) === 46
|
||||
&& domain.length === 23
|
||||
&& domain.endsWith('.duckdns.org')
|
||||
) {
|
||||
if (
|
||||
domain.endsWith('.web.app')
|
||||
|| domain.endsWith('.duckdns.org')
|
||||
|| domain.endsWith('.firebaseapp.app')
|
||||
|| domain.endsWith('.workers.dev')
|
||||
|| domain.endsWith('.weeblysite.com')
|
||||
|| domain.endsWith('.github.io')
|
||||
|| domain.endsWith('.repl.co')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user