zmianu w css i poprawki w server-list

This commit is contained in:
Mateusz Gruszczyński
2025-03-09 23:42:29 +01:00
parent 146e0f5ab2
commit 7fb796357f
6 changed files with 210 additions and 151 deletions

2
app.py
View File

@@ -1636,7 +1636,7 @@ def server_info(id):
if resp.status_code == 200:
data = resp.json()
return {
"hostname": format_host(host),
"hostname": host.resolved_daemon if host.daemon_url else host.resolved_hostname,
"ip": host.raw_ip,
"cpu": data.get('cpu_percent'),
"mem": data.get('memory_percent'),