fix: Update banned domains

This commit is contained in:
ptrcnull 2021-10-12 00:10:50 +02:00
parent 9fcab8e9e1
commit 4f560944ec

View file

@ -54,10 +54,14 @@ func main() {
match = true
}
}
if strings.HasSuffix(domain, "ndc.pl") {
}
for _, domain := range allDomains {
for _, suffix := range []string{"ndc.pl", "workers.dev", "ec2.aws.dev"} {
if strings.HasSuffix(domain, suffix) {
match = false
}
}
}
if !match {
continue
}