Can anyone help me solve the 413 error with NextJS app router?

I'm getting the 413 error when i try to use fetch with POST method and send an image that is about 1mb to one of the route handlers. I tried to find a solution but no dice, the only solution that I found is to create a config object and disable bodyParser or set a higher sizeLimit, but that is not available in the App Router.
0 Replies
No replies yetBe the first to reply to this messageJoin