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" -} - + } }