From 83f7ad0553cb3845eecc982f6104c0cb9125484a Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 3 Nov 2025 21:52:04 +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 7a635ce7..da4bc3b9 100644 --- a/index.js +++ b/index.js @@ -21,6 +21,9 @@ app.use(helmet()); app.use(morgan("tiny")); app.use(express.json()); +app.get("/health", (req, res) => { + res.status(200).send("OK"); +}); // --- Vérification connexion DB --- app.get("/db-check", async (req, res) => { try {