From 3b514b2e100f1601dd9baaa651b00521193fe9ca Mon Sep 17 00:00:00 2001 From: Esther Date: Mon, 22 Jun 2020 21:30:26 +0100 Subject: [PATCH] AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 0cbd02e..49a5d74 100644 --- a/app.js +++ b/app.js @@ -18,7 +18,7 @@ app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'pug'); if (process.env.NODE_ENV === 'production') { - app.use(logger('common', { skip: function(req, res) { return res.statusCode < 400 }, stream: __dirname + '/../morgan.log' })); + app.use(logger('common', { skip: function(req, res) { return res.statusCode < 400 }, stream: __dirname + 'morgan.log' })); } else { app.use(logger('dev')); }