Update main.go

This commit is contained in:
Whatever Social
2023-05-25 19:47:58 -07:00
committed by GitHub
parent 1f07f882e1
commit dda9e7666e
+3
View File
@@ -69,6 +69,9 @@ func main() {
} else if lists.ContainsString(lists.ImgurDomains, parsed.Host) {
// replace domain with images.whatever.social
parsed.Host = "images.whatever.social"
} else if lists.ContainsString(lists.ImdbDomains, parsed.Host) {
// replace domain with binge.whatever.social
parsed.Host = "binge.whatever.social"
} else {
// send error
c.HTML(400, "home.html", gin.H{