add object assign
This commit is contained in:
parent
c56041b2c7
commit
b450b768b5
2 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,8 @@
|
|||
"express": "^4.13.4",
|
||||
"mocha": "^2.4.5",
|
||||
"mongodb": "^2.1.16",
|
||||
"morgan": "^1.7.0"
|
||||
"morgan": "^1.7.0",
|
||||
"object-assign":"4.1.0"
|
||||
},
|
||||
"engine": {
|
||||
"node": "*",
|
||||
|
|
|
@ -4,6 +4,8 @@ var express = require('express'),
|
|||
app = express(),
|
||||
eps = require('ejs'),
|
||||
morgan = require('morgan');
|
||||
|
||||
Object.assign=require('object-assign')
|
||||
|
||||
app.engine('html', require('ejs').renderFile);
|
||||
app.use(morgan('combined'))
|
||||
|
|
Loading…
Reference in a new issue