fix websocket url
This commit is contained in:
parent
aa3f882edf
commit
3ed65b419c
|
@ -31,7 +31,7 @@
|
|||
return document.getElementById(id);
|
||||
}
|
||||
function go() {
|
||||
ws = new WebSocket("ws://" + location.host + "/mqtt/wsocket");
|
||||
ws = new WebSocket("ws://" + location.host + "/mqtt");
|
||||
ws.onopen = function () {
|
||||
$('connstate').innerHTML = 'CONNECTED';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue