From c99ae8e1f88f53739e781d20ecfd394264208e51 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Wed, 12 Apr 2017 05:41:45 +0800 Subject: [PATCH] refactor(app.js): Remove unused import modules --- app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.js b/app.js index bfa7d356..cd645379 100644 --- a/app.js +++ b/app.js @@ -6,7 +6,6 @@ var ejs = require('ejs') var passport = require('passport') var methodOverride = require('method-override') var cookieParser = require('cookie-parser') -var bodyParser = require('body-parser') const {urlencodedParser} = require('./lib/web/utils') var compression = require('compression') var session = require('express-session') @@ -21,7 +20,6 @@ var passportSocketIo = require('passport.socketio') var helmet = require('helmet') var i18n = require('i18n') var flash = require('connect-flash') -var validator = require('validator') // utils var getImageMimeType = require('./lib/utils.js').getImageMimeType