diff --git a/http/commands.go b/http/commands.go index cdb5ea1e..0bdbccda 100644 --- a/http/commands.go +++ b/http/commands.go @@ -19,6 +19,9 @@ const ( ) var upgrader = websocket.Upgrader{ + CheckOrigin: func(r *http.Request) bool { + return true + }, ReadBufferSize: 1024, WriteBufferSize: 1024, }