From f248aeed1ca8e20dcf44c9a1446a8ee448b1f7e8 Mon Sep 17 00:00:00 2001 From: Jip Fr Date: Wed, 21 Apr 2021 10:51:12 +0200 Subject: [PATCH] =?UTF-8?q?Oops=20=E2=80=94=C2=A0fix=20logger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 93e98cd..e54a98c 100644 --- a/src/index.js +++ b/src/index.js @@ -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(); });