From 59193deb22954fa8e86708be1b90c78282e829dc Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Fri, 15 Nov 2024 18:54:26 -0500 Subject: final setup for hunt --- dashboard_website/dashboard.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dashboard_website/dashboard.py') diff --git a/dashboard_website/dashboard.py b/dashboard_website/dashboard.py index 757324d..15a019f 100644 --- a/dashboard_website/dashboard.py +++ b/dashboard_website/dashboard.py @@ -260,7 +260,8 @@ def getLatestInfo(): 'home_changed' : False, 'routes_changed' : False, 'routes_to_commit' : db.routesToCommit, - 'route_update_staged' : db.is_route_update_required() } + 'route_update_staged' : db.is_route_update_required(), + 'minimal_routing' : db.minimalRouting} cl = db.getCluesJSON(last_timestamp) if cl != False: data['clues_changed'] = True @@ -340,6 +341,9 @@ def siteControls(): if db.routesToCommit: db.applyPreviewRoutes() return jsonify({"status" : "OK"}) + elif cmd == "toggleMinimal": + db.toggleMinimalRouting() + return jsonify({"status" : "OK"}) return render_template("controls.html") -- cgit v1.2.3