diff --git a/cmd/handlers.go b/cmd/handlers.go index 1825084..368ccd5 100644 --- a/cmd/handlers.go +++ b/cmd/handlers.go @@ -151,6 +151,8 @@ func registerHTTPHandlers(e *echo.Echo, app *App) { "campUUID", "subUUID")) e.GET("/campaign/:campUUID/:subUUID/px.png", validateUUID(handleRegisterCampaignView, "campUUID", "subUUID")) + // Public health API endpoint. + e.GET("/health", handleHealthCheck) } // handleIndex is the root handler that renders the Javascript frontend.