From 5e4d3c40f5b2f8d0d0c644596332aadb04160aac Mon Sep 17 00:00:00 2001 From: Vincent L Date: Wed, 18 May 2016 23:01:01 +0200 Subject: [PATCH] Fix pull request #158 https://github.com/gmetais/YellowLabTools/pull/158#issuecomment-220123344 --- bin/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/server.js b/bin/server.js index 9ad04a8..394af07 100644 --- a/bin/server.js +++ b/bin/server.js @@ -17,6 +17,7 @@ app.use(cors()); app.use(wwwRedirectMiddleware); app.use(authMiddleware); app.use(apiLimitsMiddleware); +app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded // Initialize the controllers @@ -37,4 +38,4 @@ if (!process.env.GRUNTED) { }); } -module.exports = app; \ No newline at end of file +module.exports = app;