Oops — fix logger

This commit is contained in:
Jip Fr 2021-04-21 10:51:12 +02:00
parent 45dcb975fd
commit f248aeed1c

View File

@ -13,7 +13,7 @@ const routers = {
};
app.use('*', (req, res, next) => {
logger.info(`${req.method.toUpperCase()} ${req.path}${req.filepath}`);
logger.info(`${req.method.toUpperCase()} ${req.originalUrl}`);
next();
});