mirror of
https://github.com/httpjamesm/launchpad-redirects.git
synced 2024-12-06 19:16:34 +01:00
Update main.go
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user