diff --git a/core/scripts/webpanel/templates/index.html b/core/scripts/webpanel/templates/index.html index 872d354..b62de9a 100644 --- a/core/scripts/webpanel/templates/index.html +++ b/core/scripts/webpanel/templates/index.html @@ -68,7 +68,7 @@
-
+

--

Hysteria2

@@ -79,7 +79,7 @@
-
+

--

Telegram Bot

@@ -90,7 +90,7 @@
-
+

--

Singbox

@@ -101,7 +101,7 @@
-
+

--

Normalsub

@@ -122,7 +122,6 @@ fetch('{{ url_for("server_status_api") }}') .then(response => response.json()) .then(data => { - // Update extended info from CLI document.getElementById('cpu-usage').textContent = data.cpu_usage; document.getElementById('ram-usage').textContent = data.ram_usage; document.getElementById('online-users').textContent = data.online_users; @@ -137,7 +136,6 @@ fetch('') .then(response => response.json()) .then(data => { - // Update service statuses updateServiceBox('hysteria2', data.hysteria2); updateServiceBox('telegrambot', data.telegrambot); updateServiceBox('singbox', data.singbox); @@ -167,7 +165,6 @@ updateServiceStatuses(); setInterval(updateServerInfo, 5000); - setInterval(updateServiceStatuses, 5000); {% endblock %}