How do I setup a base api url for the preview environment when deploying to Vercel?
New to Next and working with API routes. My API routes are working locally when I use http://localhost:3000/api as the base URL but how would I create a base url for the preview environment since the url is dynamic?