From 49a3f05b56a2db6f20aa4482b8942716a449cd8e Mon Sep 17 00:00:00 2001 From: edder773 Date: Tue, 3 Dec 2024 12:05:33 +0900 Subject: [PATCH] =?UTF-8?q?[test]=20=EB=B0=B0=ED=8F=AC=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/src/pages/CropMarket.tsx | 2 +- apps/frontend/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/pages/CropMarket.tsx b/apps/frontend/src/pages/CropMarket.tsx index 69c08a1..a9bb456 100644 --- a/apps/frontend/src/pages/CropMarket.tsx +++ b/apps/frontend/src/pages/CropMarket.tsx @@ -48,7 +48,7 @@ const CropMarket: React.FC = () => { }, []); useEffect(() => { - const newSocket = io('wss://yeokjeonnongbu.shop/ws', { + const newSocket = io('wss://yeokjeonnongbu.shop:8080/ws', { auth: { authorization: `Bearer ${localStorage.getItem('accessToken')}` } diff --git a/apps/frontend/vite.config.ts b/apps/frontend/vite.config.ts index 4247b15..4f17b50 100644 --- a/apps/frontend/vite.config.ts +++ b/apps/frontend/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ cors: true, hmr: { protocol: 'wss', - host: 'yeokjeonnongbu.shop/ws' + host: 'yeokjeonnongbu.shop' } },