mirror of
https://github.com/ok-home/ota_ws_update.git
synced 2025-11-13 22:03:27 +03:00
update example
This commit is contained in:
@@ -247,11 +247,11 @@
|
||||
console.log("connect ws");
|
||||
};
|
||||
socket.onclose = function (event) {
|
||||
document.location.reload();
|
||||
//document.location.reload();
|
||||
console.log("close ws");
|
||||
};
|
||||
socket.onerror = function () {
|
||||
document.location.reload();
|
||||
//document.location.reload();
|
||||
console.log("error ws");
|
||||
};
|
||||
socket.onmessage = function (event) {
|
||||
|
||||
Reference in New Issue
Block a user