diff options
-rw-r--r-- | src/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http.go b/src/http.go index d3dd15a..4df6944 100644 --- a/src/http.go +++ b/src/http.go @@ -91,6 +91,7 @@ func createPostHandler(w http.ResponseWriter, r *http.Request) { return } log.Printf("Create a new challenge. UUID: %s", uuid) + http.Redirect(w, r, "/view", http.StatusSeeOther) } // viewGetHandler returns a list of all challenges in the database |