mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-11 16:45:42 +00:00
chore: cleanup websocket code
This commit is contained in:
@@ -168,10 +168,6 @@ function updateHeaderFromInit() {
|
||||
|
||||
renderSidebar()
|
||||
|
||||
if (window.checkWebsocketConnection) {
|
||||
window.checkWebsocketConnection()
|
||||
}
|
||||
|
||||
if (window.initResponse.loginRequired) {
|
||||
router.push('/login')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user