Update commands.go

This commit is contained in:
mrwoowoo 2020-07-09 15:13:23 +08:00 committed by GitHub
parent d0b359561f
commit 51ab956a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,9 @@ const (
)
var upgrader = websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool {
return true
},
ReadBufferSize: 1024,
WriteBufferSize: 1024,
}