Skip to content

Commit

Permalink
🔧 Increase builder request max size to 4MB
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Nov 26, 2023
1 parent 6ce43ed commit 4666fd8
Show file tree
Hide file tree
Showing 2 changed files with 503 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/builder/src/pages/api/[...trpc].ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
},
})(req, res)
}

export const config = {
api: {
bodyParser: {
sizeLimit: '4mb',
},
},
}

export default handler
Loading

2 comments on commit 4666fd8

@vercel
Copy link

@vercel vercel bot commented on 4666fd8 Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
app.typebot.io
builder-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 4666fd8 Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app
docs.typebot.io

Please sign in to comment.