Axios Api calls in Heroku
问题 I've deployed my app to heroku and I have it connected to mongoLab. My problem is my API calls using axios wont't work with Heroku because they are still set up locally. Is there a dynamic env variable I have to replace baseURL with for it to work? I tried researching this with no luck. See Code below export default { saveClient: function(clientData) { return axios({ method:"post", url:"/api/saveClient", baseURL:"http://localhost:3001", data:clientData }) } ---------------------- server.js is