refactor(app.js): Remove unused import modules

This commit is contained in:
BoHong Li 2017-04-12 05:41:45 +08:00 committed by Raccoon Li
parent 69a9f7ca38
commit c99ae8e1f8

2
app.js
View file

@ -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