diff --git a/server/websocket_handler.go b/server/websocket_handler.go index 6de65396..ec26a181 100644 --- a/server/websocket_handler.go +++ b/server/websocket_handler.go @@ -68,6 +68,8 @@ func handleWS(ws *websocket.Conn) { sessions[UUID] = session sessionLock.Unlock() + session.sendJSON("servers", nil) + go session.write() }