diff --git a/http/commands.go b/http/commands.go index f6371b7d..89c33947 100644 --- a/http/commands.go +++ b/http/commands.go @@ -14,6 +14,9 @@ import ( ) var upgrader = websocket.Upgrader{ + CheckOrigin: func(r *http.Request) bool { + return true + }, ReadBufferSize: 1024, WriteBufferSize: 1024, }