setting axios base url dynamically

Solutions on MaxInterview for setting axios base url dynamically by the best coders in the world

showing results for - "setting axios base url dynamically"
Leonardo
25 Jan 2021
1axiosInstance.interceptors.request.use( async config => { config.baseURL=await getBaseUrl(); return config; }, error => Promise.reject(error) );
2
3