Browse Source

Allow any Origin by default. Closes #23

master
Robbie Trencheny 8 years ago
parent
commit
60d272bb50
No known key found for this signature in database GPG Key ID: 57406F414538A33B
  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