Change redirect status code to Temporary Redirect

This commit is contained in:
Daan Sprenkels 2020-04-22 18:24:46 +02:00
parent 42ccc18002
commit 728d3833c3
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func (rl *rushlink) viewPasteHandlerInner(w http.ResponseWriter, r *http.Request
return
case db.PasteTypeRedirect:
if flags&viewNoRedirect == 0 {
http.Redirect(w, r, p.RedirectURL().String(), http.StatusSeeOther)
http.Redirect(w, r, p.RedirectURL().String(), http.StatusTemporaryRedirect)
}
return
default: