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,8 +54,12 @@ func main() {
match = true match = true
} }
} }
if strings.HasSuffix(domain, "ndc.pl") { }
match = false for _, domain := range allDomains {
for _, suffix := range []string{"ndc.pl", "workers.dev", "ec2.aws.dev"} {
if strings.HasSuffix(domain, suffix) {
match = false
}
} }
} }
if !match { if !match {