diff --git a/handlers.go b/handlers.go index 7581eb8f2..0fb5fd159 100644 --- a/handlers.go +++ b/handlers.go @@ -191,7 +191,7 @@ func excute(c Command, w *http.ResponseWriter, req *http.Request) { url := scheme + leaderClient() + path debug("redirect to %s", url) - http.Redirect(*w, req, url, http.StatusTemporaryRedirect) + http.Redirect(*w, req, url, http.StatusFound) return }