cloneboxd
cloneboxd copied to clipboard
[deploy] - ``VITE_API_URL``
Context
the client is actually hosted on Vercel, I setted the VITE_API_URL to be the same in production, development and staging. Now that the server has a pipeline on Heroku, it can host a preview when a PR in opened, but, the client preview points to the production URL, I need to somehow detect which environment the client is on and point to the right server url