We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v5.9.0
https://github.com/meatherly/nuxtjs-axios-bug
Set the common headers in the nuxt.config.js for the axios module. Then make a request with the axios module.
It should merge the headers you add to the config with the default like the documentation says.
The headers are not changing.
I've created a example repo to recreate the bug.
https://jsonplaceholder.typicode.com/posts/1
You should see that the common header set in nuxt.config.js is missing from the request when it shouldn't be.
nuxt.config.js
The text was updated successfully, but these errors were encountered:
Probably duplicate of #311
Sorry, something went wrong.
6c5605d
Thanks for report @meatherly
Successfully merging a pull request may close this issue.
Version
v5.9.0
Reproduction link
https://github.com/meatherly/nuxtjs-axios-bug
Steps to reproduce
Set the common headers in the nuxt.config.js for the axios module. Then make a request with the axios module.
What is expected ?
It should merge the headers you add to the config with the default like the documentation says.
What is actually happening?
The headers are not changing.
Additional comments?
I've created a example repo to recreate the bug.
https://jsonplaceholder.typicode.com/posts/1
in the dev tools.You should see that the common header set in
nuxt.config.js
is missing from the request when it shouldn't be.The text was updated successfully, but these errors were encountered: