Actualiser server.js
This commit is contained in:
parent
2e30763da5
commit
8a025cdc70
@ -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"])
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user