diff options
-rw-r--r-- | server.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ func router(w http.ResponseWriter, r *http.Request) { Name: "redirect", Path: "/", }) - http.Redirect(w, r, url + lang + "/", http.StatusMovedPermanently) + http.Redirect(w, r, url + lang + "/", http.StatusTemporaryRedirect) return } @@ -60,7 +60,7 @@ func router(w http.ResponseWriter, r *http.Request) { Name: "redirect", Path: "/", }) - http.Redirect(w, r, url + path, http.StatusMovedPermanently) + http.Redirect(w, r, url + path, http.StatusTemporaryRedirect) return } |