fix: Replace incorrect http status code
This commit is contained in:
parent
57d7e0cc69
commit
62c27305f9
@ -59,7 +59,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
// w.Write([]byte("Authentication successful!"))
|
// w.Write([]byte("Authentication successful!"))
|
||||||
|
|
||||||
url := "https://alias.spamasaurus.com"
|
url := "https://alias.spamasaurus.com"
|
||||||
http.Redirect(w, r, url, http.StatusAccepted)
|
http.Redirect(w, r, url, http.StatusSeeOther)
|
||||||
}
|
}
|
||||||
|
|
||||||
func healthHandler(w http.ResponseWriter, r *http.Request) {
|
func healthHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user