Actualiser server.js

This commit is contained in:
Gilles Lazures 2026-03-19 21:34:18 +01:00
parent 2e30763da5
commit 8a025cdc70

View File

@ -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"])
}
}