Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Express payload size limit #178

Open
rodolfo-picoreti opened this issue May 18, 2022 · 1 comment
Open

Express payload size limit #178

rodolfo-picoreti opened this issue May 18, 2022 · 1 comment

Comments

@rodolfo-picoreti
Copy link

Hi,

Express default limit for the bodyParser is 100kb (https://github.com/expressjs/body-parser#parameterlimit). A cart can sometimes exceed this limit if it has too many bundles. Would be nice to add a env var to configure this limit here

or simply increase the limit... app.use(bodyParser.json({ limit: '10mb' }));

@praveenkumarct
Copy link
Collaborator

Hi @rodolfo-picoreti,

Thank you for the issue.
We will be looking into this issue in the upcoming weeks. If you mind this fix earlier you can create a PR.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants