summaryrefslogtreecommitdiff
path: root/src/node/hooks/express
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2013-03-18 22:09:47 +0100
committerMarcel Klehr <mklehr@gmx.net>2013-03-18 22:09:47 +0100
commit2bc45de1062cd4afcb8cc53e6a89b480a05f77b6 (patch)
tree68748615370b8910bb9ba0436691d2214cac4495 /src/node/hooks/express
parent83ed9303dacf75f870378e91b9ca165fdc3247cc (diff)
downloadetherpad-lite-2bc45de1062cd4afcb8cc53e6a89b480a05f77b6.zip
Fix #1639 by removing bodyParser middleware introduced with swagger REST API
Diffstat (limited to 'src/node/hooks/express')
-rw-r--r--src/node/hooks/express/swagger.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node/hooks/express/swagger.js b/src/node/hooks/express/swagger.js
index f4fc5cff..3a437a51 100644
--- a/src/node/hooks/express/swagger.js
+++ b/src/node/hooks/express/swagger.js
@@ -354,7 +354,6 @@ exports.expressCreateServer = function (hook_name, args, cb) {
// Let's put this under /rest for now
var subpath = express();
- args.app.use(express.bodyParser());
args.app.use(basePath, subpath);
swagger.setAppHandler(subpath);