Skip to content

Commit

Permalink
Fix http redirect call
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert-Johan Riemer committed Dec 12, 2013
1 parent 1c86ae4 commit e8ede2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) {
if strings.HasSuffix(number, ".0") {
number = number[:len(number)-2]
if len(number) > 0 {
http.Redirect(w, r, "http://isgo"+strings.Replace(number, ".", "point", -1)+".outyet.org", code)
http.Redirect(w, r, "http://isgo"+strings.Replace(number, ".", "point", -1)+".outyet.org", http.StatusTemporaryRedirect)
return
}
http.Redirect(w, r, defaultPage, http.StatusTemporaryRedirect)
Expand Down

0 comments on commit e8ede2b

Please sign in to comment.