Redirect to the main page after signup
This commit is contained in:
parent
334deb1ae7
commit
e311464b51
1 changed files with 1 additions and 2 deletions
|
|
@ -54,6 +54,5 @@ func postSignup(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
w.WriteHeader(http.StatusOK)
|
http.Redirect(w, r, "/", http.StatusFound)
|
||||||
w.Write([]byte("Form received"))
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue