mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-11 22:54:46 +08:00
Fixed bug with overwriting opened tabs. Added proxy for websocket
This commit is contained in:
@@ -5,11 +5,11 @@ class Socket {
|
||||
this.webSocketServer = new WebSocket.Server({ server })
|
||||
|
||||
this.webSocketServer.on('listening', () => {
|
||||
console.log('socket listen');
|
||||
console.log('Socket: listen');
|
||||
})
|
||||
|
||||
this.webSocketServer.on('connection', (webSocketClient) => {
|
||||
console.log('new connection');
|
||||
console.log('Socket: new connection');
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user