From bc2b271ba26878279851d9e994608738e668a58b Mon Sep 17 00:00:00 2001 From: masechkacat Date: Mon, 29 Apr 2024 23:15:28 +0200 Subject: [PATCH] delete logs --- src/game/game.gateway.ts | 2 -- src/main.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/src/game/game.gateway.ts b/src/game/game.gateway.ts index 4ebb268..3477d30 100644 --- a/src/game/game.gateway.ts +++ b/src/game/game.gateway.ts @@ -44,7 +44,6 @@ export class GameGateway implements OnGatewayConnection, OnGatewayDisconnect { * @param client - The connected socket client. */ handleConnection(@ConnectedSocket() client: Socket) { - console.log(`Client connected: ${client.id}`); const gameStatus = this.gameService.addPlayer(client.id); if (gameStatus === 'waiting') { client.emit('message', { text: GameMessages.Waiting }); @@ -73,7 +72,6 @@ export class GameGateway implements OnGatewayConnection, OnGatewayDisconnect { handleMove(@ConnectedSocket() client: Socket, @MessageBody() data: MoveDto) { try { const result = this.gameService.makeMove(client.id, data.index); - console.log(result); if (result) { result.playerIds.forEach((playerId) => { this.server.to(playerId).emit('gameUpdated', { result }); diff --git a/src/main.ts b/src/main.ts index 026ad2c..a22637e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,6 +14,5 @@ async function bootstrap() { await app.listen(port, '0.0.0.0', () => { console.log(`Application is running on: http://0.0.0.0:${port}`); }); - console.log(`Application is running on: ${await app.getUrl()}`); } bootstrap();