mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 00:39:16 +02:00
info from server
This commit is contained in:
+2
-2
@@ -418,9 +418,9 @@ function handleWebSocketMessage(event) {
|
||||
console.log('Kick initiated.')
|
||||
setTimeout(() => {
|
||||
window.location.href = '/403';
|
||||
}, 500);
|
||||
}, 350);
|
||||
return;
|
||||
}
|
||||
} else if (event.data.startsWith("!")) sendToast('info', 'Info from server', event.data.slice(1), false, false)
|
||||
|
||||
parsedData = JSON.parse(event.data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user