diff --git a/public/index.html b/public/index.html index 1f50d28..c840ea3 100644 --- a/public/index.html +++ b/public/index.html @@ -9,6 +9,7 @@
+
Последнее обновление:
📜 Меню игрока
@@ -201,6 +202,10 @@ progressBar.classList.add("progress-bar"); progressBar.innerHTML = `
`; warehouseDiv.appendChild(progressBar); + + // Время последнего обновления + const lastUpdate = new Date(); + document.getElementById("last-update").textContent = lastUpdate.toLocaleString(); }) .catch(err => { console.error("Ошибка загрузки данных:", err); @@ -242,7 +247,7 @@ // Обновляем страницу каждые 30 секунд setInterval(() => { location.reload(); - }, 30000); + }, 5000); \ No newline at end of file