1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-11 18:13:52 +02:00

Initialize websocket listeners

This commit is contained in:
Chen-I Lim 2020-10-09 10:44:12 -07:00
parent 93028db7b5
commit d4aaef305d

View File

@ -50,6 +50,7 @@ type WSServer struct {
func NewWSServer() *WSServer {
return &WSServer{
listeners: make(map[string][]*websocket.Conn),
upgrader: websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool {
return true