chore: cleanup websocket code

This commit is contained in:
jamesread
2025-11-11 10:55:42 +00:00
parent 00d7285167
commit 167e700e30
2 changed files with 0 additions and 8 deletions

View File

@@ -3,10 +3,6 @@ import { buttonResults } from '../resources/vue/stores/buttonResults.js'
export function initWebsocket () {
window.addEventListener('EventOutputChunk', onOutputChunk)
window.checkWebsocketConnection = checkWebsocketConnection
}
export function checkWebsocketConnection () {
reconnectWebsocket()
}

View File

@@ -168,10 +168,6 @@ function updateHeaderFromInit() {
renderSidebar()
if (window.checkWebsocketConnection) {
window.checkWebsocketConnection()
}
if (window.initResponse.loginRequired) {
router.push('/login')
return