fix(healthcheck): redirect after post

This commit is contained in:
Tine 2024-02-15 23:55:48 +01:00
parent 6db158ba96
commit ccce0440f8
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -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)
}