Update mtchat.html
This commit is contained in:
parent
0e5ff83c99
commit
9f10f960f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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=>{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue