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
fix status code on success
Philipp Seitzf789f06cc0db
diff --git a/public.go b/public.goindex 0aa6841e..30334e53 100644--- a/public.go+++ b/public.go@@ -278,7 +278,7 @@ func handleSubscriptionForm(c echo.Context) error {makeMsgTpl("Error", "", fmt.Sprintf("%s", err.(*echo.HTTPError).Message)))}- return c.Render(http.StatusInternalServerError, tplMessage,+ return c.Render(http.StatusOK, tplMessage,makeMsgTpl("Done", "", `Subscribed successfully.`))}