()
| 2835 | |
| 2836 | @app.route("/api/logs") |
| 2837 | def list_logs(): |
| 2838 | logs = _collect_logs(log_root_path) |
| 2839 | default_path = log_manager._default_path() if log_manager else "" |
| 2840 | return jsonify({"logs": logs, "default": default_path}) |
| 2841 | |
| 2842 | |
| 2843 | @app.route("/api/switch", methods=["POST"]) |
nothing calls this directly
no test coverage detected