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:
parent
93028db7b5
commit
d4aaef305d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user