From 3388b4aada737e75554b3ef153f5b6a9a7d96696 Mon Sep 17 00:00:00 2001 From: edder773 Date: Tue, 3 Dec 2024 19:01:37 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20console.log=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/backend/src/websocket/websocket.gateway.ts | 1 - apps/frontend/src/pages/CropMarket.tsx | 1 - apps/frontend/src/services/Api.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/apps/backend/src/websocket/websocket.gateway.ts b/apps/backend/src/websocket/websocket.gateway.ts index 7e4d62c..b957480 100644 --- a/apps/backend/src/websocket/websocket.gateway.ts +++ b/apps/backend/src/websocket/websocket.gateway.ts @@ -66,7 +66,6 @@ export class WebsocketGateway implements OnGatewayInit, OnGatewayConnection, OnG handleDisconnect(client: Socket) { this.clients.delete(client.id); - console.log(`Client disconnected: ${client.id}`); } async initializePubSub() { diff --git a/apps/frontend/src/pages/CropMarket.tsx b/apps/frontend/src/pages/CropMarket.tsx index 90982bf..852ff8b 100644 --- a/apps/frontend/src/pages/CropMarket.tsx +++ b/apps/frontend/src/pages/CropMarket.tsx @@ -57,7 +57,6 @@ const CropMarket: React.FC = () => { }); newSocket.on('connect', () => { - console.log('connect!'); setLoading(false); setTimeout(() => { newSocket.emit('join', { cropId: curCrop }); diff --git a/apps/frontend/src/services/Api.tsx b/apps/frontend/src/services/Api.tsx index fb891bf..a62b19b 100644 --- a/apps/frontend/src/services/Api.tsx +++ b/apps/frontend/src/services/Api.tsx @@ -46,7 +46,6 @@ api.interceptors.response.use( pendingRequests.delete(requestKey); if (error.response && error.response.status === 401) { - console.log(error); localStorage.clear(); alert('액세스 토큰이 만료되었습니다. 로그아웃되었습니다.'); window.location.href = '/';