diff --git a/public/index.html b/public/index.html
index 807a54d..587e3d5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -235,15 +235,10 @@
}
}
- // Добавляем внизу кнопку для обновления данных
- const container = document.querySelector(".container");
- const updateButton = document.createElement("button");
- updateButton.textContent = "🔄 Обновить данные"
- updateButton.classList.add("button");
- updateButton.addEventListener("click", () => {
+ // Обновляем сайт каждые 5 секунд для получения актуальных данных
+ setInterval(() => {
window.location.reload();
- });
- container.appendChild(updateButton);
+ }, 5000);