Skip to content
New issue

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

Getting cors error using useQuery when plugin is active #185

Open
brittonwalker opened this issue Feb 1, 2023 · 0 comments
Open

Getting cors error using useQuery when plugin is active #185

brittonwalker opened this issue Feb 1, 2023 · 0 comments

Comments

@brittonwalker
Copy link

When the plugin is active I get this error when trying to use Apollo's useQuery clientside. I noticed this first when my search page stopped returning results.

Access to fetch at 'https://guild-wordpress.test/graphql' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant