title: How to configure Next.JS API timeout
body: <p>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?</p>
  <p><a href="https://i.stack.imgur.com/4rUOH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4rUOH.png" alt="enter image description here" /></a></p>