diff --git a/mtchat.html b/mtchat.html index 18be042..595a4e1 100644 --- a/mtchat.html +++ b/mtchat.html @@ -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`) ws.onmessage = ev=>{