mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-17 16:32:27 +01:00
Counts should now be accurate
This commit is contained in:
@@ -50,7 +50,6 @@ def render_overview():
|
||||
|
||||
# Get all routes:
|
||||
routes = headscale.get_routes(url,api_key)
|
||||
total_routes = len(routes["routes"])
|
||||
for route in routes["routes"]:
|
||||
if int(route['machine']['id']) != 0:
|
||||
total_routes += 1
|
||||
|
||||
Reference in New Issue
Block a user