diff --git a/chatroom.HTML b/chatroom.HTML
index 58b26c1..266d7aa 100644
--- a/chatroom.HTML
+++ b/chatroom.HTML
@@ -45,8 +45,6 @@
});
function sendMessage(message) {
- // Here, you would typically send the message to your server using an AJAX request
- // For demonstration purposes, we'll just add the message locally
messages.push(message);
updateChatbox();
}
@@ -65,7 +63,6 @@
// Polling with a 3-second interval
setInterval(function() {
// Perform an AJAX request to the server to get new messages
- // Replace the URL with the appropriate endpoint on your server
fetch('/getNewMessages')
.then(response => response.json())
.then(data => {