mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-07-05 09:21:07 +02:00
Made the number of node to show on map to be configurable
This commit is contained in:
+1
-2
@@ -1096,9 +1096,8 @@ async def nodelist(request):
|
||||
#print(channel)
|
||||
hw_model = request.query.get("hw_model")
|
||||
#print(hw_model)
|
||||
nodes= await store.get_nodes(role,channel, hw_model)
|
||||
nodes= await store.get_nodes(role,channel, hw_model, days_active=3)
|
||||
template = env.get_template("nodelist.html")
|
||||
print_memory_usage()
|
||||
return web.Response(
|
||||
text=template.render(nodes=nodes, site_config = CONFIG),
|
||||
content_type="text/html",
|
||||
|
||||
Reference in New Issue
Block a user