From f5f7007080cbbaad7f6cdea2a9a1089899b8e485 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Tue, 8 Nov 2022 00:26:47 +0300 Subject: [PATCH] Count other indexed frontends on main page --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index db924c6..9931c25 100644 --- a/api.py +++ b/api.py @@ -20,7 +20,7 @@ def get_hash(domain: str) -> str: def info(): conn = sqlite3.connect("blocks.db") c = conn.cursor() - c.execute("select (select count(domain) from instances), (select count(domain) from instances where software in ('pleroma', 'mastodon')), (select count(blocker) from blocks)") + c.execute("select (select count(domain) from instances), (select count(domain) from instances where software in ('pleroma', 'mastodon', 'misskey', 'gotosocial', 'friendica')), (select count(blocker) from blocks)") known, indexed, blocks = c.fetchone() c.close() return { -- 2.39.5