diff options
author | Jordan <me@jordan.im> | 2021-12-04 00:02:49 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2021-12-04 00:02:49 -0700 |
commit | af2549c3efb509418f4a24476a13b40673ea7186 (patch) | |
tree | a5192bd41bdb4de265e70528be701cf95f98dc37 | |
parent | fe0a3d416f24706a356dcbcd299c4acea67c0b93 (diff) | |
download | keep-af2549c3efb509418f4a24476a13b40673ea7186.tar.gz keep-af2549c3efb509418f4a24476a13b40673ea7186.zip |
archive: blacklist -> blocklist
-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 |