Bump Express version to 4.4.1
This commit is contained in:
parent
b33f64e320
commit
e08a5df88b
|
@ -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/"));
|
||||
};
|
||||
|
||||
|
|
|
@ -46,7 +46,8 @@
|
|||
|
||||
"dependencies": {
|
||||
"async": "0.7.0",
|
||||
"express": "3.5.1",
|
||||
"express": "4.4.1",
|
||||
"body-parser": "1.3.0",
|
||||
"robeaux": ">= 0.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue