zmianu w css i poprawki w server-list
This commit is contained in:
2
app.py
2
app.py
@@ -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'),
|
||||
|
Reference in New Issue
Block a user