From ae0a59fc3be519c4fbb2d81685feacd830fbbf0a Mon Sep 17 00:00:00 2001 From: Degradin Date: Mon, 20 Jan 2025 23:47:39 +0300 Subject: [PATCH] Update index.html --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index c840ea3..1c74d34 100644 --- a/public/index.html +++ b/public/index.html @@ -244,9 +244,9 @@ console.log("Получено сообщение:", messages); location.reload(); }); - // Обновляем страницу каждые 30 секунд + // Обновляем сайт каждые 5 секунд для получения актуальных данных setInterval(() => { - location.reload(); + window.location.reload(); }, 5000);