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
axios.getUri doesn't use baseURL #2468
Comments
Based on the definition of URI from this article getting just |
URI may be only |
now that we're going to modify it, from the looks of it the URI should contain a full resource, so it might need to include the domain, etc from where the request is being made, e.g. |
I agree. Depending on what is provided into the config, the method should return as much information as possible including protocol, domain, port, path, anchor, query, etc. |
Fixed in #2555 |
PR #2555 was never merged so this should still be open. The solution looks valid though, so I guess a new PR could be opened. I will try to do that later. |
any progress? |
Fixed by #3737 |
Describe the bug
When using #1712 example and adding baseURL in config, baseURL seems to not be used.
To Reproduce
Expected behavior
axios.getUri
should return/foo/user/12345
.If this expected behavior seems right, I can work on a fix.
Environment:
The text was updated successfully, but these errors were encountered: