Megumin
Megumin
TTCTheo's Typesafe Cult
Created by Megumin on 11/23/2023 in #questions
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.
2 replies
TTCTheo's Typesafe Cult
Created by Megumin on 11/4/2023 in #questions
Does anyone know if there's a library for resizing the content of a container element?
I'm wondering if there is a library that has component like the card component on this page https://pokecardmaker.net/creator or if that's original code. If you open the devtools and try to resize the page you'll notice that the elements inside the card component scale based on the card size and also that the card container resizes to retain the card shape.
1 replies