refactor: Remove unnecessary code in Terminal.blade.php
This commit is contained in:
@@ -69,9 +69,7 @@
|
|||||||
};
|
};
|
||||||
socket.onclose = () => {
|
socket.onclose = () => {
|
||||||
console.log('WebSocket connection closed');
|
console.log('WebSocket connection closed');
|
||||||
setInterval(() => {
|
|
||||||
$wire.dispatch('error', 'Connection to terminal lost, please refresh the page.');
|
|
||||||
}, 2000);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user