Update mtchat.html

This commit is contained in:
Signal 2025-06-01 00:48:42 +00:00
parent 0e5ff83c99
commit 9f10f960f2

View file

@ -43,7 +43,7 @@ function addMessage(name, msg) {
} }
} }
var host = '' // Set this to the local IP address of your server, or localhost if on the same machine. var host = 'localhost' // Set this to the local IP address of your server, or localhost if on the same machine.
var ws = new WebSocket(`ws://${host}:8001`) var ws = new WebSocket(`ws://${host}:8001`)
ws.onmessage = ev=>{ ws.onmessage = ev=>{