fix: Update banned domains
This commit is contained in:
parent
9fcab8e9e1
commit
4f560944ec
1 changed files with 6 additions and 2 deletions
8
main.go
8
main.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue