Robbie Trencheny
8 years ago
No known key found for this signature in database
GPG Key ID: 57406F414538A33B
1 changed files with
1 additions and
0 deletions
-
melody.go
|
@ -74,6 +74,7 @@ func New() *Melody { |
|
|
upgrader := &websocket.Upgrader{ |
|
|
upgrader := &websocket.Upgrader{ |
|
|
ReadBufferSize: 1024, |
|
|
ReadBufferSize: 1024, |
|
|
WriteBufferSize: 1024, |
|
|
WriteBufferSize: 1024, |
|
|
|
|
|
CheckOrigin: func(r *http.Request) bool { return true }, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
hub := newHub() |
|
|
hub := newHub() |
|
|