diff --git a/package.json b/package.json index 4b4c25a..429b22a 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "license": "MIT", "dependencies": {}, "devDependencies": { - "body-parser": "~1.3.0", + "body-parser": "~1.6.2", "compression": "~1.0.6", "deep-extend": "~0.2.10", - "express": "~4.4.1", - "glob": "~4.0.2", + "express": "~4.8.2", + "glob": "~4.0.5", "grunt": "~0.4.1", "grunt-autoprefixer": "~0.7.4", "grunt-bower-install": "~1.6.0", @@ -32,10 +32,10 @@ "grunt-rev": "~0.1.0", "grunt-svgmin": "~0.4.0", "grunt-usemin": "~2.1.1", - "jshint-stylish": "~0.2.0", + "jshint-stylish": "~0.4.0", "load-grunt-tasks": "~0.4.0", "ng-di": "~0.1.1", - "time-grunt": "~0.3.2", + "time-grunt": "~0.4.0", "underscore": "~1.6.0" }, "engines": { diff --git a/server/app.js b/server/app.js index 2b0e9e3..86bf4d8 100644 --- a/server/app.js +++ b/server/app.js @@ -7,7 +7,7 @@ angular.module('ffffng').factory('app', function (fs, config, _) { var app = express(); - app.use(bodyParser()); + app.use(bodyParser.json()); var clientDir = __dirname + '/../client'; var templateDir = __dirname + '/templates';