In the line which you define the baseURL something like this: axios.defaults.baseURL=process.env.REACT_APP_PROXY_AXIOS??''