From 8a025cdc70ed19f2de07f7fdd05777c8598d03b2 Mon Sep 17 00:00:00 2001 From: Gilles Lazures Date: Thu, 19 Mar 2026 21:34:18 +0100 Subject: [PATCH] Actualiser server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index dcbfb35..c9cd93b 100644 --- a/server.js +++ b/server.js @@ -117,7 +117,7 @@ for (const route of routes) { for (const layer of router.stack) { if (layer.route && layer.route.methods) { const method = Object.keys(layer.route.methods).join(", ").toUpperCase() - const subPath = routePath === "/" ? "" : routePath + const subPath = routePath === "/" ? "" : routePath + layer.route.path logger.log(`${method.cyan} ${subPath.cyan.bold} route registered`, ["WEB", "yellow"]) } }