From 6afdb257f43dc141438352bb16ce440beda67a59 Mon Sep 17 00:00:00 2001 From: Hyunuk Date: Wed, 8 Nov 2023 00:44:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[hotfix/0.3.1]=20WebSocket=20URL=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Chatting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Chatting.js b/src/pages/Chatting.js index 06e53d8..c40bd85 100644 --- a/src/pages/Chatting.js +++ b/src/pages/Chatting.js @@ -131,7 +131,7 @@ export default function Chatting() { console.log('Chatting Room: ' + state.postNum); // postNum은 roomId가 아님 console.log('Chatting Room: ' + roomId); // postNum은 roomId가 아님 // WebSocket - const webSocketUrl = 'ws://' + window.location.host + '/api/ws'; + const webSocketUrl = 'ws://' + window.location.host+ ':8080/api/ws'; // const webSocketUrl = 'ws://localhost:8080/api/ws'; stompClient.current = Stomp.over(() => new WebSocket(webSocketUrl)); // Stomp Client From 564efaf21906607084479d61deebc4d3b44b8516 Mon Sep 17 00:00:00 2001 From: Hyunuk Date: Wed, 8 Nov 2023 00:48:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[hotfix/0.3.1]=20prettier=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Chatting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Chatting.js b/src/pages/Chatting.js index c40bd85..b136f40 100644 --- a/src/pages/Chatting.js +++ b/src/pages/Chatting.js @@ -131,7 +131,7 @@ export default function Chatting() { console.log('Chatting Room: ' + state.postNum); // postNum은 roomId가 아님 console.log('Chatting Room: ' + roomId); // postNum은 roomId가 아님 // WebSocket - const webSocketUrl = 'ws://' + window.location.host+ ':8080/api/ws'; + const webSocketUrl = 'ws://' + window.location.host + ':8080/api/ws'; // const webSocketUrl = 'ws://localhost:8080/api/ws'; stompClient.current = Stomp.over(() => new WebSocket(webSocketUrl)); // Stomp Client