From e311464b512d94eb8cb4359ccf9d5084018c7dd0 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 5 Nov 2025 14:20:56 +0000 Subject: [PATCH] Redirect to the main page after signup --- endpoint.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/endpoint.go b/endpoint.go index f26d7725..52e55291 100644 --- a/endpoint.go +++ b/endpoint.go @@ -54,6 +54,5 @@ func postSignup(w http.ResponseWriter, r *http.Request) { return } - w.WriteHeader(http.StatusOK) - w.Write([]byte("Form received")) + http.Redirect(w, r, "/", http.StatusFound) }