New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite recursion in baseURL #16
Comments
I just inspected Axios code and the cause of that bug is that Axios resolves the full URL before calling interceptors, so we receive the built URL in Would you consider creating a PR there? |
I'm afraid that I can not even formulate the problem correctly. ^_^ |
This has already been fixed in axios/axios#950 so it'll work fine in axios-retry when it's released. |
I'm running the latest Axios (0.17.1) and I'm still seeing this behaviour (with a relative baseURL). Have had to specify an absolute baseURL to work around it. |
I received a very strange bug:
My configuration looks like this:
If you specify the full base url ("http://localhost:3000/api/"), then everything works:
The text was updated successfully, but these errors were encountered: