From e4be67ad318bc67e95cda634df622f9b899f3cf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 Mar 2024 11:35:19 +0100 Subject: [PATCH] Continued: - renamed known_instances to total_websites because this is more clear - you cannot distinguish between a regular website and a former Fediverse instance (e.g. before: Mastodon was installed, now IBM Connections) --- daemon.py | 2 +- templates/views/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index eb36051..7d7626f 100755 --- a/daemon.py +++ b/daemon.py @@ -60,7 +60,7 @@ def api_info(): row = database.cursor.fetchone() return JSONResponse(status_code=200, content={ - "known_instances" : row[0], + "total_websites" : row[0], "supported_instances": row[1], "blocks_recorded" : row[2], "erroneous_instances": row[3], diff --git a/templates/views/index.html b/templates/views/index.html index d51b3ea..4974c1b 100644 --- a/templates/views/index.html +++ b/templates/views/index.html @@ -81,7 +81,7 @@ - + @@ -90,7 +90,7 @@ - + -- 2.39.5
Known instances:Total websites: Supported instances: Blocks recorded: Erroneous instances:
{{info.known_instances}}{{info.total_websites}} {{info.supported_instances}} {{info.blocks_recorded}} {{info.erroneous_instances}}