diff --git a/luckydiamond/src/assets/js/chat/ChatLogic.js b/luckydiamond/src/assets/js/chat/ChatLogic.js index 1e18f0f..a955074 100644 --- a/luckydiamond/src/assets/js/chat/ChatLogic.js +++ b/luckydiamond/src/assets/js/chat/ChatLogic.js @@ -12,12 +12,12 @@ export function ConnectToChat() { webSocket.onopen = function () { console.log('Connection established'); - // webSocket.send('Hello, Server!'); }; webSocket.onmessage = function (event) { eventBus.emit('dataChat', event.data) + console.log('Message from Server:', event.data); };