Shut down the entire system
()
| 10947 | return ('Not Found', 404) |
| 10948 | return _no_store(make_response(send_from_directory('demos', 'adsb_radar.html'))) |
| 10949 | |
| 10950 | |
| 10951 | @app.route('/mesh-nodes') |
| 10952 | def mesh_nodes_page(): |
| 10953 | """Serve the Meshtastic mesh map/node list. |
| 10954 | |
| 10955 | Always served (login required): the USB-node path needs a Meshtastic device, |
| 10956 | but the MQTT source works over the Internet with no node/SDR at all, so the |
| 10957 | page is useful to everyone — and its always-visible Signal Intelligence |
| 10958 | button would otherwise land on a 404. Same rule as the APRS page. |
| 10959 | """ |
| 10960 | return _no_store(make_response(send_from_directory('demos', 'mesh_nodes.html'))) |
| 10961 | |
| 10962 | |
| 10963 | @app.route('/mesh-map') |
| 10964 | def mesh_map_page(): |
| 10965 | """Serve the full-screen Meshtastic map (Leaflet slippy map of the mesh). |
| 10966 | |
| 10967 | Always served (login required), same as /mesh-nodes — the map is fed by the |
| 10968 | same node data, which can come from a USB node or from MQTT over the Internet |
| 10969 | with no hardware at all. |
| 10970 | """ |
| 10971 | return _no_store(make_response(send_from_directory('demos', 'mesh_map.html'))) |
| 10972 | |
| 10973 | |
| 10974 | @app.route('/pager-decode') |
| 10975 | def pager_decode_page(): |
| 10976 | """Serve the POCSAG/FLEX pager decode page. |
| 10977 |