mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Convert HTTP 302 responses to more-accurate 303.
This commit is contained in:
@@ -122,7 +122,7 @@ func (web *Web) matchPlayLoadHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
currentMatchType = web.arena.CurrentMatch.Type
|
||||
|
||||
http.Redirect(w, r, "/match_play", 302)
|
||||
http.Redirect(w, r, "/match_play", 303)
|
||||
}
|
||||
|
||||
// Loads the results for the given match into the display buffer.
|
||||
@@ -155,7 +155,7 @@ func (web *Web) matchPlayShowResultHandler(w http.ResponseWriter, r *http.Reques
|
||||
web.arena.SavedMatchResult = matchResult
|
||||
web.arena.ScorePostedNotifier.Notify(nil)
|
||||
|
||||
http.Redirect(w, r, "/match_play", 302)
|
||||
http.Redirect(w, r, "/match_play", 303)
|
||||
}
|
||||
|
||||
// The websocket endpoint for the match play client to send control commands and receive status updates.
|
||||
|
||||
Reference in New Issue
Block a user