DEV Community

Discussion on: Next.js, Apollo Client and Server on a single Express app

Collapse
 
eddyvinck profile image
Eddy Vinck

Thanks Vladimir for this great post. I was working on a boilerplate myself and couldn't get my SSR working. I'm going to try changing the GraphQL URL to an absolute URL like you suggested. How did you find out about this?

Collapse
 
givehug profile image
givehug

Hey Eddy, that's one of the problems I faced too. Don't remember exactly where I got it from, but I'm sure you have to use absolute url there. Relative did not work for me, that's why I had to set up an env var for it.