Bump Express version to 4.4.1

This commit is contained in:
Andrew Stewart 2014-06-04 11:06:02 -07:00
parent b33f64e320
commit e08a5df88b
2 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,8 @@
var fs = require('fs');
var express = require('express');
var express = require('express'),
bodyParser = require('body-parser');
var Logger = require('./logger');
@ -54,8 +55,7 @@ var API = module.exports = function API(opts) {
}
this.server.set('title', 'Cylon API Server');
this.server.use(express.json());
this.server.use(express.urlencoded());
this.server.use(bodyParser());
this.server.use(express["static"](__dirname + "/../node_modules/robeaux/"));
};

View File

@ -45,8 +45,9 @@
},
"dependencies": {
"async": "0.7.0",
"express": "3.5.1",
"robeaux": ">= 0.1.0"
"async": "0.7.0",
"express": "4.4.1",
"body-parser": "1.3.0",
"robeaux": ">= 0.1.0"
}
}