axios-module
axios-module copied to clipboard
Is retry setup using axios.baseUrl, but not taking the environment variable BASE_URL?
As the title suggested.
I encountered a weird issue today after I enabled axios retry integration. One of my user's API requests went to the default fallback base url that I defined in axios.baseUrl. The only change I made is to add retry: { retries: 3 } in the nuxt.config.js.
The default fallback base url is always there. So wondering if the current implementation of this module is always using axios.baseUrl for axios retry, instead of checking ENV BASE_URL first?
Thanks a lot and thanks for making this great module!