From 4bf7700886a4cc09a0a1ff1e983cf4b85ec9b905 Mon Sep 17 00:00:00 2001 From: MeBeBruno Date: Sun, 9 Aug 2026 17:15:56 +0200 Subject: [PATCH] Update behavior.js --- static/behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/behavior.js b/static/behavior.js index 36ccec9..4b8323d 100644 --- a/static/behavior.js +++ b/static/behavior.js @@ -281,7 +281,7 @@ document.addEventListener("DOMContentLoaded", function() { } if (typeof io !== "undefined") { - websocket_connection = io(); + websocket_connection = io({ transports: ["polling"], upgrade: false }); websocket_connection.on("game_state_changed", function() { if (document.querySelector(".game-section") || document.querySelector(".administrator-section")) {