From 1da45b7c8ad49a2b74045d1ebb16add96ba29883 Mon Sep 17 00:00:00 2001 From: dom Date: Sun, 8 Mar 2026 12:50:03 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20r=C3=A9soudre=20doublon=20endpoint=20/he?= =?UTF-8?q?alth=20apr=C3=A8s=20merge=20des=20branches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Garde la version complète (Ollama check + timestamp) et utilise APP_VERSION. Co-Authored-By: Claude Opus 4.6 --- src/viewer/app.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/viewer/app.py b/src/viewer/app.py index 5d8b836..25ac9a1 100644 --- a/src/viewer/app.py +++ b/src/viewer/app.py @@ -112,11 +112,6 @@ def create_app() -> Flask: dossier_list.append({"name": format_dossier_name(group_name), "path": rep["path_rel"]}) return {"dossier_list": dossier_list, "app_version": APP_VERSION} - # --- Health check --- - @app.route("/health") - def health(): - return jsonify({"status": "ok", "version": APP_VERSION}) - # =================================================================== # Routes principales # =================================================================== @@ -641,7 +636,7 @@ def create_app() -> Flask: pass return jsonify({ "status": "ok", - "version": "2.1.0", + "version": APP_VERSION, "ollama": ollama_ok, "timestamp": datetime.now(timezone.utc).isoformat(), })