Reconnect to gateway after disconnect

This commit is contained in:
Jeremy Zhang 2019-10-30 22:23:05 -07:00
parent 9002841933
commit f9ef4569f4

View File

@ -2132,7 +2132,12 @@
});
socket.on("disconnect", function () {
setTimeout(function () {
if (soccket) {
soccket = null;
initiate_websockets();
}
}, 500);
});
socket.on("revoke", function () {