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
Hi,
I need to pass user-agent and x-forwarded-for headers from Node running Nuxt to my backend.
user-agent
x-forwarded-for
Currently I am running this code before each Gql request
const headers = useRequestHeaders(['x-forwarded-for', 'user-agent']) useGqlHeaders(headers) const { data } = await useAsyncGql({ operation: 'index' })
Bit tedious to add it for each Gql request.
Add global config with list of default headers to be passed along with requests. Both on Client and SSR
Thank you
No response
The text was updated successfully, but these errors were encountered:
7c2e5cb
Diizzayy
No branches or pull requests
Your use case
Hi,
I need to pass
user-agent
andx-forwarded-for
headers from Node running Nuxt to my backend.Currently I am running this code before each Gql request
Bit tedious to add it for each Gql request.
The solution you'd like
Add global config with list of default headers to be passed along with requests. Both on Client and SSR
Thank you
Possible alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: