Closed rushil-b-patel closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
wanderlust | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 25, 2024 8:04am |
wanderlust-backend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 25, 2024 8:04am |
Umm... did someone forget to read the style guide? Fix that PR title and let's try again! @rushil-b-patel Don't worry, it happens to the best of us! Check out our contributor guidelines for more details.
Umm... did someone forget to read the style guide? Fix that PR title and let's try again! @rushil-b-patel Don't worry, it happens to the best of us! Check out our contributor guidelines for more details.
Hey @rushil-b-patel! Thanks for sticking to the guidelines! High five! 🙌🏻
Summary
Added the limit to the json payload that is sent.
Description
The actual payload that user can submit to your app /api should be restricted to avoid unnecessary behaviour/ overload of the data. Therefore there should be a limit to the body payload. app.use(express.json( { limit: '50kb' })); //we can change set the max limit according to the usage.
Issue(s) Addressed
Prerequisites