From cd8ebfdcbe61ab461ef591ed98bba2c39614f12b Mon Sep 17 00:00:00 2001 From: luukas Date: Thu, 16 Jun 2022 00:10:48 +0300 Subject: [PATCH] Make the WebSocket automatically reconnect. The WebSocket reconnects 5 seconds after the connection's closure. If the connection reconnection fails it will try to reconnect after another 5 seconds. --- app/frontend/templates/base.html | 133 ++++++++++++++++++------------- 1 file changed, 78 insertions(+), 55 deletions(-) diff --git a/app/frontend/templates/base.html b/app/frontend/templates/base.html index 4b28120a..6d8c7332 100755 --- a/app/frontend/templates/base.html +++ b/app/frontend/templates/base.html @@ -164,7 +164,7 @@