summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index 9ab243f..10cb474 100644
--- a/server.go
+++ b/server.go
@@ -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
}