mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fix #1639 by removing bodyParser middleware introduced with swagger REST API
This commit is contained in:
parent
83ed9303da
commit
2bc45de106
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue