diff --git a/main.go b/main.go index 4f804d9..f0af4c2 100644 --- a/main.go +++ b/main.go @@ -137,7 +137,7 @@ func (h *Handler) RedirectHandler(wr http.ResponseWriter, req *http.Request) { log.Println("hits query error:", err) } wr.Header().Set("Location", "/") - wr.WriteHeader(http.StatusMovedPermanently) + wr.WriteHeader(http.StatusFound) return }