improve server restart handling

This commit is contained in:
2025-06-16 23:48:01 -07:00
parent c9be11d58a
commit 537c94ea88
2 changed files with 11 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ socket.addEventListener("message", (event) => {
socket.addEventListener('close', function (event) {
console.log('Disconnected from the WS Server');
client_uid = null;
setTimeout(() => window.location.reload(), 1000);
});