mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-26 01:07:52 +00:00
fix(healthcheck): redirect after post
This commit is contained in:
parent
6db158ba96
commit
ccce0440f8
1 changed files with 1 additions and 1 deletions
|
@ -132,5 +132,5 @@ func (h *BaseHandler) SettingsHealthchecksCreatePOST(w http.ResponseWriter, r *h
|
|||
}
|
||||
h.db.Create(healthcheck)
|
||||
|
||||
http.Redirect(w, r, "/settings/healthchecks", http.StatusTemporaryRedirect)
|
||||
http.Redirect(w, r, "/settings/healthchecks", http.StatusSeeOther)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue