diff --git a/main.go b/main.go index 0c1c190..081b47d 100644 --- a/main.go +++ b/main.go @@ -39,7 +39,8 @@ func main() { log.Fatal("SPECIFY MONGO AND WEB-ROOT OR I WILL DIE, OH NO, THEY'RE COMING FOR ME.... **DEATH NOISES**") } go func() { - http.ListenAndServe(":80", http.RedirectHandler("https://darkstorm.tech", http.StatusPermanentRedirect)) + log.Println("error redirecting http traffice:", + http.ListenAndServe(":80", http.RedirectHandler("https://darkstorm.tech", http.StatusPermanentRedirect))) }() mux := http.NewServeMux() setupMongo(*mongoURL)