kopia lustrzana https://github.com/cyoung/stratux
Subscribe /jsonio socket for situation updates.
rodzic
f5ebf4c43d
commit
386be11b8c
|
@ -72,6 +72,7 @@ func handleJsonIo(conn *websocket.Conn) {
|
|||
// Subscribe the socket to receive updates.
|
||||
trafficUpdate.AddSocket(conn)
|
||||
weatherUpdate.AddSocket(conn)
|
||||
situationUpdate.AddSocket(conn)
|
||||
|
||||
trafficMutex.Unlock()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue