From d06a4619733744ce5440c81389cc94d3cfae2f3f Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 3 Nov 2025 22:58:14 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20index.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index a05f1479..9cee6c80 100644 --- a/index.js +++ b/index.js @@ -30,6 +30,9 @@ app.get("/db-check", async (req, res) => { } }); +app.get("/health", (req, res) => { + res.status(200).json({ status: "ok" }); +}); // --- Route d’accueil --- app.get("/", (req, res) => {