Update commands.go

This commit is contained in:
mrwoowoo 2020-07-14 14:18:08 +08:00 committed by GitHub
parent a47b69bcec
commit 6643e743d7
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,
}