From 358556612ec74601c8b31125e4e65f750abf8c4c Mon Sep 17 00:00:00 2001 From: Janis Date: Mon, 1 Dec 2025 21:17:58 +0100 Subject: [PATCH] fix: FRO-6 Websocket Close Handle (#96) Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/pulls/96 Co-authored-by: Janis Co-committed-by: Janis --- knockoutwhistweb/public/javascripts/websocket.js | 1 + 1 file changed, 1 insertion(+) diff --git a/knockoutwhistweb/public/javascripts/websocket.js b/knockoutwhistweb/public/javascripts/websocket.js index fcd1c92..174a8ad 100644 --- a/knockoutwhistweb/public/javascripts/websocket.js +++ b/knockoutwhistweb/public/javascripts/websocket.js @@ -87,6 +87,7 @@ function setupSocketHandlers(socket) { } else { console.warn('Connection died unexpectedly.'); } + location.href = "/mainmenu"; }; }