diff --git a/src/app.js b/src/app.js index 17cc683..fc9f3a4 100644 --- a/src/app.js +++ b/src/app.js @@ -9,8 +9,8 @@ const { NODE_ENV } = require('./config'); const app = express(); const morganOption = (NODE_ENV === 'production') - ? 'tiny' - : 'common'; + ? 'common' + : 'dev'; app.use(morgan(morganOption)); app.use(cors()); @@ -31,4 +31,4 @@ app.use(function errorHandler(error, req, res, next) { res.status(500).json(response); }); -module.exports = app; \ No newline at end of file +module.exports = app;