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')); }