Open florentalitaj opened 7 months ago
hey, if you go to that endpoint in your browser, does it work?
Not sure if OP is monitoring this at all, but it's because they are using Local for temporarily hosting a WP site locally. It uses self signed certificates and Apollo doesn't by default allow self signing.
Add this to the .env.local and it will disable the certificate checking. Potential security issues but should be ok for local development, when you deploy to Vercel or Netlify then DO NOT put that line in their environment variables.
NODE_TLS_REJECT_UNAUTHORIZED=0
I did the initial steps (including graphql endpoint adding to .evn.local.), but next.js can't somhow fetched the post from my wordpress. I am using the app local with
Screenshot or Video Recording
Your environment
Additional context