Right now, we have IH_BACKEND_URL which determines what URL to rewrite to in next.config.js.
We also have VERCEL_URL which determines what URL to use in the serverless function in api.ts.
These should be combined as they have the same options (either "irvinehacks.com" or "http://localhost:8000".
Right now, we have
IH_BACKEND_URLwhich determines what URL to rewrite to innext.config.js.We also have
VERCEL_URLwhich determines what URL to use in the serverless function inapi.ts.These should be combined as they have the same options (either "irvinehacks.com" or "http://localhost:8000".