diff --git a/main.go b/main.go index 8e3ff474ab63667e5bbcda75de23b853d3a600dc..5dbedac19de23f78a2238797664a98d3a5dbdd4c 100644 --- a/main.go +++ b/main.go @@ -38,6 +38,10 @@ func main() { http.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(http.Dir("assets")))) http.Handle("/", pageIndex(pageContext)) + http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte("OK")) + }) + err = http.ListenAndServe(":8080", nil) if err != nil { panic(err)