From 62c27305f9ec1c922384ec8c44736414e79f8327 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sun, 10 Mar 2024 22:27:34 +1100 Subject: [PATCH] fix: Replace incorrect http status code --- pkg/spamasaurusrex/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/spamasaurusrex/main.go b/pkg/spamasaurusrex/main.go index 945f088..7f00e35 100644 --- a/pkg/spamasaurusrex/main.go +++ b/pkg/spamasaurusrex/main.go @@ -59,7 +59,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) { // w.Write([]byte("Authentication successful!")) 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) {