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:
parent
a33f348561
commit
db52ef43ab
5 changed files with 5 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue