wip trying to connect socket

This commit is contained in:
simplonco
2022-12-28 16:20:07 +01:00
parent ead4a1c264
commit b6203fc7b1
8 changed files with 106 additions and 70 deletions

View File

@@ -10,7 +10,9 @@ import {
@WebSocketGateway({
path: '/chat',
port: 8088,
cors: {
origin: '*',
},
})
/*
@@ -21,7 +23,7 @@ export class ChatGateway implements OnGatewayConnection {
server;
handleConnection(client) {
console.log('Client connected:', client.id);
console.log('------------------------ Client connected:', client.id);
}
/*