Skip to content

Commit

Permalink
Merge pull request #471 from tschoffelen/patch-1
Browse files Browse the repository at this point in the history
Increase default body parser size
  • Loading branch information
lizkenyon authored Feb 23, 2024
2 parents 111bc55 + f8ec753 commit bb2c5ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-clouds-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/shopify-app-express': patch
---

increase max body size to 500kb
2 changes: 1 addition & 1 deletion packages/shopify-app-express/src/webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function processWebhooks({
mountWebhooks(api, config, webhookHandlers);

return [
express.text({type: '*/*'}),
express.text({type: '*/*', limit: '500kb'}),
async (req: Request, res: Response) => {
await process({
req,
Expand Down

0 comments on commit bb2c5ff

Please sign in to comment.