From 1a4a9abbbc7172deada39a2057b4727cc89a7eff Mon Sep 17 00:00:00 2001 From: dhax Date: Wed, 5 Mar 2025 21:16:59 +0100 Subject: [PATCH] move /ping to /healthz --- api/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api.go b/api/api.go index 1c47655..af2f4ba 100644 --- a/api/api.go +++ b/api/api.go @@ -78,8 +78,8 @@ func New(enableCORS bool) (*chi.Mux, error) { r.Mount("/api", appAPI.Router()) }) - r.Get("/ping", func(w http.ResponseWriter, _ *http.Request) { - w.Write([]byte("pong")) + r.Get("/healthz", func(w http.ResponseWriter, _ *http.Request) { + w.Write([]byte("ok")) }) r.Get("/*", SPAHandler("public"))