refactor: Remove unnecessary code in Terminal.blade.php
This commit is contained in:
parent
e937d30545
commit
5ecf31d1fc
1 changed files with 1 additions and 3 deletions
|
|
@ -69,9 +69,7 @@ function initializeWebSocket() {
|
|||
};
|
||||
socket.onclose = () => {
|
||||
console.log('WebSocket connection closed');
|
||||
setInterval(() => {
|
||||
$wire.dispatch('error', 'Connection to terminal lost, please refresh the page.');
|
||||
}, 2000);
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue