diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2024-11-15 18:54:26 -0500 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2024-11-15 18:54:26 -0500 |
| commit | 59193deb22954fa8e86708be1b90c78282e829dc (patch) | |
| tree | f822e74fcdf322757b80de09419edf85c2a3952a /dashboard_website/dashboard.py | |
| parent | 3f68ac783948c7d47974993854a1d317399d3b04 (diff) | |
final setup for hunt
Diffstat (limited to 'dashboard_website/dashboard.py')
| -rw-r--r-- | dashboard_website/dashboard.py | 6 |
1 files changed, 5 insertions, 1 deletions
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") |
