Skip to content

Commit

Permalink
Add bodyparser middleware, fixes download
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Sep 20, 2021
1 parent ea4d06c commit f702779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const applyConfig = (config) => {

const middleware = express.Router();
middleware.use(express.json());
// middleware.use(express.urlencoded({ extended: true }));
middleware.use(express.urlencoded({ extended: true }));
middleware.all('**/_es/*', handler);
middleware.id = 'esProxyMiddleware';

Expand Down

0 comments on commit f702779

Please sign in to comment.