How to configure Next.JS API timeout

Viewed 1182

My api returns me a result after 10 minute later because of some limitations of another api. In localhost, i can wait 10 minutes and receive my data successfully but in vercel, my api returns me 504 which means timeout error. How can i disable that?

enter image description here

0 Answers
Related