Skip to content

Commit

Permalink
Merge pull request #62 from SylTi/master
Browse files Browse the repository at this point in the history
fix(server): replace deprecated bodyparser
  • Loading branch information
DaftMonk committed Jan 21, 2014
2 parents f273998 + c0985dd commit 788fda0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/express/config/express.js
Expand Up @@ -40,7 +40,8 @@ module.exports = function(app) {
app.set('view engine', 'html');<% } %><% if (jade) { %>
app.set('view engine', 'jade');<% } %>
app.use(express.logger('dev'));
app.use(express.bodyParser());
app.use(express.json());
app.use(express.urlencoded());
app.use(express.methodOverride());<% if(mongoPassportUser) { %>
app.use(express.cookieParser());

Expand Down

0 comments on commit 788fda0

Please sign in to comment.