mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Merge pull request #1642 from ether/fix/import
Fix #1639 by removing bodyParser middleware introduced with swagger REST...
This commit is contained in:
commit
65e51473bc
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…
Reference in a new issue