forked from electricdusk/rushlink
Change redirect status code to Temporary Redirect
This commit is contained in:
parent
42ccc18002
commit
728d3833c3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user