mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Disabled auth for referee display Websocket, since Safari (on iPad) doesn't support it.
This commit is contained in:
@@ -86,9 +86,7 @@ func RefereeDisplayHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// The websocket endpoint for the refereee interface client to send control commands and receive status updates.
|
||||
func RefereeDisplayWebsocketHandler(w http.ResponseWriter, r *http.Request) {
|
||||
if !UserIsAdmin(w, r) {
|
||||
return
|
||||
}
|
||||
// TODO(patrick): Enable authentication once Safari (for iPad) supports it over Websocket.
|
||||
|
||||
websocket, err := NewWebsocket(w, r)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user