Reputation: 41
I am building a Next.js application that downloads a file into the server and saves it into Firebase cloud storage. Initially I made an API that will do all this stuff, which worked when in development but gave a timeout error when deployed to the vercel and ran in production.
But as I modified the code into a server action, there were no timeout errors both in deployment and production. I even tried downloading very big files but still there were no timeouts. Not sure why this is happening. Do you guys have any idea?
Upvotes: 2
Views: 556