1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-18 23:03:06 +00:00

host docs on GitHub, where it's prettier

This commit is contained in:
Jason Hall 2020-12-17 06:43:19 -05:00
parent 0793e97cc1
commit 02cb2e78e3
9 changed files with 14 additions and 169 deletions

View file

@ -54,7 +54,7 @@ func main() {
error: log.New(os.Stderr, "E ", log.Ldate|log.Ltime|log.Lshortfile),
ds: ds,
})
http.Handle("/", http.RedirectHandler("https://kontain.me", http.StatusMovedPermanently))
http.Handle("/", http.RedirectHandler("https://github.com/imjasonh/kontain.me/blob/master/cmd/buildpack", http.StatusSeeOther))
log.Println("Starting...")
port := os.Getenv("PORT")