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

This commit is contained in:
Ola Holmström
2017-04-11 22:18:19 +02:00
+1
View File
@@ -74,6 +74,7 @@ func New() *Melody {
upgrader := &websocket.Upgrader{
ReadBufferSize: 1024,
WriteBufferSize: 1024,
CheckOrigin: func(r *http.Request) bool { return true },
}
hub := newHub()