Browse Source

Merge branch 'allow-all-origins-by-default' of https://github.com/robbiet480/melody

master
Ola Holmström 8 years ago
parent
commit
9d6a0c9a53
  1. 1
      melody.go

1
melody.go

@ -74,6 +74,7 @@ func New() *Melody {
upgrader := &websocket.Upgrader{
ReadBufferSize: 1024,
WriteBufferSize: 1024,
CheckOrigin: func(r *http.Request) bool { return true },
}
hub := newHub()

Loading…
Cancel
Save