Skip to content

Commit 4462dcb

Browse files
committed
testing for leave roompt2
1 parent 1d5bece commit 4462dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ io.on('connection', (client) => {
190190
if (roomCode) {
191191
//server send the data to everyone in the room
192192
client.to(roomCode).emit('child data from server', childData);
193+
console.log(`client id: ${client.id} sending from server ${childData}`);
193194
}
194195
});
195196

0 commit comments

Comments
 (0)