SSR: Change graphql headers in dynamic routes nextjs #1237
Answered
by
JoviDeCroock
rohanrajpal
asked this question in
Q&A
-
Hey, I want to achieve the following with graphql, nextjs and urql SSR
So if the graphql url was I have setup SSR according to https://formidable.com/open-source/urql/docs/advanced/server-side-rendering/#nextjs. So I'm not sure where can I add the code to receive the store name, and change the grahpql headers accordingly. If someone knows how to go about it, would be great if you could help |
Beta Was this translation helpful? Give feedback.
Answered by
JoviDeCroock
Dec 16, 2020
Replies: 1 comment 19 replies
-
In your [store-name].tsx
|
Beta Was this translation helpful? Give feedback.
19 replies
Answer selected by
kitten
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your [store-name].tsx