diff --git a/app.js b/app.js index c7a42c8..f5d4392 100644 --- a/app.js +++ b/app.js @@ -1,8 +1,6 @@ var createError = require('http-errors'); var express = require('express'); var path = require('path'); -var cookieParser = require('cookie-parser'); -var logger = require('morgan'); var indexRouter = require('./routes/index'); @@ -12,10 +10,7 @@ var app = express(); app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'pug'); -app.use(logger('dev')); -app.use(express.json()); app.use(express.urlencoded({ extended: false })); -app.use(cookieParser()); app.use(express.static(path.join(__dirname, 'public'))); app.use('/', indexRouter);