mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-06 04:36:17 +02:00
Fix #1639 by removing bodyParser middleware introduced with swagger REST API
This commit is contained in:
parent
83ed9303da
commit
2bc45de106
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user