This commit is contained in:
Caleb Gardner
2024-06-17 19:26:52 -05:00
parent 11c9ec9242
commit 6ed9df45fb
+1 -1
View File
@@ -29,7 +29,7 @@ func main() {
log.Fatal("You must specify key directory. ex: darkstorm-server /etc/web-keys") log.Fatal("You must specify key directory. ex: darkstorm-server /etc/web-keys")
} }
if *mongoURL == "" || *webRoot == "" { if *mongoURL == "" || *webRoot == "" {
log.Fatal("SPECIFY MONGO AND WEB-ROOT OR I WILL DIE (Death noises).") log.Fatal("SPECIFY MONGO AND WEB-ROOT OR I WILL DIE, OH NO, THEIR COMING FOR ME.... **DEATH NOISES**")
} }
go func() { go func() {
http.ListenAndServe(":80", http.RedirectHandler("https://darkstorm.tech", http.StatusPermanentRedirect)) http.ListenAndServe(":80", http.RedirectHandler("https://darkstorm.tech", http.StatusPermanentRedirect))