diff --git a/internal/api/http.go b/internal/api/http.go index 4a7fafb..edc098c 100644 --- a/internal/api/http.go +++ b/internal/api/http.go @@ -31,9 +31,11 @@ func (a *API) HealthCheck(w http.ResponseWriter, r *http.Request) { default: w.WriteHeader(http.StatusServiceUnavailable) w.Write([]byte("Unhealthy")) + return } // Respond OK + w.WriteHeader(http.StatusOK) w.Write([]byte("Healthy")) }