docker healthcheck

This commit is contained in:
2025-02-28 21:46:06 +00:00
parent 2c9ad491ff
commit f700b904e0
9 changed files with 44 additions and 40 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ func HealthCheck() http.Handler {
mux := http.NewServeMux()
mux.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
w.Write([]byte("Healthy"))
w.Write([]byte("OK"))
})
return mux
}