Manually index the key
This commit is contained in:
parent
16215dec12
commit
ae6f7f4ad0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def register_route(method, path):
|
|||
|
||||
@register_route("GET", "/")
|
||||
async def home(request):
|
||||
following = "<ul>" + ("\n".join(f"<li>{it}</li>" for it in request.app.database.hostnames)) + "</ul>"
|
||||
following = "<ul>" + ("\n".join(f"<li>{it}</li>" for it in request.app.database["relay-list"])) + "</ul>"
|
||||
following_count = len(request.app.database.hostnames)
|
||||
requested = "<ul>" + ("\n".join(f"<li>{it}</li>" for it in request.app.database["follow-requests"])) + "</ul>"
|
||||
requested_count = len(request.app.database["follow-requests"])
|
||||
|
|
Loading…
Reference in a new issue