refactor(app.js): Remove unused import modules
This commit is contained in:
parent
69a9f7ca38
commit
c99ae8e1f8
1 changed files with 0 additions and 2 deletions
2
app.js
2
app.js
|
@ -6,7 +6,6 @@ var ejs = require('ejs')
|
||||||
var passport = require('passport')
|
var passport = require('passport')
|
||||||
var methodOverride = require('method-override')
|
var methodOverride = require('method-override')
|
||||||
var cookieParser = require('cookie-parser')
|
var cookieParser = require('cookie-parser')
|
||||||
var bodyParser = require('body-parser')
|
|
||||||
const {urlencodedParser} = require('./lib/web/utils')
|
const {urlencodedParser} = require('./lib/web/utils')
|
||||||
var compression = require('compression')
|
var compression = require('compression')
|
||||||
var session = require('express-session')
|
var session = require('express-session')
|
||||||
|
@ -21,7 +20,6 @@ var passportSocketIo = require('passport.socketio')
|
||||||
var helmet = require('helmet')
|
var helmet = require('helmet')
|
||||||
var i18n = require('i18n')
|
var i18n = require('i18n')
|
||||||
var flash = require('connect-flash')
|
var flash = require('connect-flash')
|
||||||
var validator = require('validator')
|
|
||||||
|
|
||||||
// utils
|
// utils
|
||||||
var getImageMimeType = require('./lib/utils.js').getImageMimeType
|
var getImageMimeType = require('./lib/utils.js').getImageMimeType
|
||||||
|
|
Loading…
Reference in a new issue