Log successful health check.

This commit is contained in:
Catherine
2025-09-17 18:31:38 +00:00
parent f482be4c05
commit 82f24d5508

View File

@@ -2,10 +2,12 @@ package main
import (
"fmt"
"log"
"net/http"
)
func ServeHealth(w http.ResponseWriter, r *http.Request) {
log.Println("health: ok")
w.WriteHeader(http.StatusOK)
fmt.Fprintln(w, "ok")
}