High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
feat: add a public healthcheck endpoint
Karan Sharma50dc9fca16f8
diff --git a/cmd/handlers.go b/cmd/handlers.goindex 18250848..368ccd53 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.