add object assign

This commit is contained in:
Ben Parees 2016-07-09 11:39:32 -04:00
parent c56041b2c7
commit b450b768b5
2 changed files with 4 additions and 1 deletions

View file

@ -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": "*",

View file

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