From 4a732b5f594c250ea7aeb94d5347a5c5ee346bb8 Mon Sep 17 00:00:00 2001 From: soufiane Date: Sat, 1 Nov 2025 17:32:37 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Fix=20Jenkinsfile:=20force=20recrea?= =?UTF-8?q?te=20+=20health=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- package.json | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/index.js b/index.js index f9bc4201..8af0301f 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ app.get("/db-check", async (req, res) => { // --- Route d’accueil (fix pour 'Cannot GET /') --- app.get("/", (req, res) => { - res.json({ message: "✅ API Thé Tip Top en ligne et opérationnelle 1231 !" }); + res.json({ message: "✅ API Thé Tip Top en ligne et opérationnelle 123n1 !" }); }); // --- Monitoring Prometheus --- diff --git a/package.json b/package.json index ccf84b1c..f72818a3 100755 --- a/package.json +++ b/package.json @@ -6,7 +6,10 @@ "type": "module", "scripts": { "start": "node index.js", - "dev": "nodemon index.js" + "dev": "nodemon index.js", + "lint": "eslint .", + "test": "jest --coverage", + "test:integration": "jest --config jest.integration.config.js" }, "keywords": [], "author": "", @@ -35,11 +38,5 @@ "repository": { "type": "git", "url": "https://gitea.wk-archi-o24a-15m-g3.fr/wkadmin/the-tip-top-backend.git" - }, - "scripts": { - "lint": "eslint .", - "test": "jest --coverage", - "test:integration": "jest --config jest.integration.config.js" -} - + } }