1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-22 15:51:12 +00:00

redirect to kontain.me, concurrently mirror

This commit is contained in:
Jason Hall 2020-09-17 09:16:15 -04:00
parent a33f348561
commit db52ef43ab
5 changed files with 5 additions and 2 deletions

View file

@ -31,6 +31,7 @@ func main() {
info: log.New(os.Stdout, "I ", log.Ldate|log.Ltime|log.Lshortfile),
error: log.New(os.Stderr, "E ", log.Ldate|log.Ltime|log.Lshortfile),
})
http.Handle("/", http.RedirectHandler("https://kontain.me", http.StatusMovedPermanently))
log.Println("Starting...")
port := os.Getenv("PORT")