Use process.env.API_URL for the whole api url, including any versions and ports.