Update chatroom.HTML
This commit is contained in:
parent
f73ad34140
commit
ca495e8e8a
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
||||||
const messageInput = document.getElementById('message');
|
const messageInput = document.getElementById('message');
|
||||||
const sendButton = document.getElementById('send');
|
const sendButton = document.getElementById('send');
|
||||||
|
|
||||||
// Create a WebSocket connection using the Echo Test Service
|
// Create a WebSocket connection using your WebSocket service's endpoint
|
||||||
const socket = new WebSocket('wss://echo.websocket.org');
|
const socket = new WebSocket('wss://your-websocket-endpoint');
|
||||||
|
|
||||||
// Handle WebSocket open event
|
// Handle WebSocket open event
|
||||||
socket.addEventListener('open', () => {
|
socket.addEventListener('open', () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue