diff options
-rw-r--r-- | archive.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ var ( TIMEOUT time.Duration = 25 client *http.Client = &http.Client{Timeout: TIMEOUT * time.Second} - blacklist = []string{"cdn.discordapp.com", "discord.com", "tenor.com", + blocklist = []string{"cdn.discordapp.com", "discord.com", "tenor.com", "c.tenor.com", "archive.org", "web.archive.org", "youtu.be", "youtube.com", "www.youtube.com", "discord.gg", "media.discordapp.net", "open.spotify.com"} @@ -36,7 +36,7 @@ type Closest struct { func isBlacklisted(host string) bool { - for _, h := range blacklist { + for _, h := range blocklist { if host == h { return true |