wip trying to connect socket
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user