Added keys count on outline page.

This commit is contained in:
A B
2024-10-26 23:36:18 +00:00
parent 75126b09ff
commit dda9b4ba5a
4 changed files with 12 additions and 2 deletions

View File

@ -73,7 +73,9 @@ class OutlineServer(Server):
if raw:
status = info
else:
keys = self.client.get_keys()
status.update(info)
status.update({"keys": len(keys)})
except Exception as e:
status.update({f"error": e})
return status