fix: Update banned domains

This commit is contained in:
ptrcnull 2021-10-12 00:10:50 +02:00
parent 9fcab8e9e1
commit 4f560944ec
1 changed files with 6 additions and 2 deletions

View File

@ -54,8 +54,12 @@ func main() {
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 {