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

When activating plugin by adding lines to function.php then there's error #9

Open
teetlaja opened this issue Feb 27, 2021 · 2 comments

Comments

@teetlaja
Copy link

Hi

When i'm trying to activate cache, i've got an error:
Origin https://domain.com is not allowed by Access-Control-Allow-Origin.

My frontend is having regular www.example.com address structure but my backend is served from different url which is staging.example.com

What should i do?

I'm using NextJS as frontend framework.

Thanks in advance

@ma-jahn
Copy link

ma-jahn commented May 15, 2021

I have the very same issue. It's working on produciont when Requests are being send from example.com to example.com/api/graphql

But as soon as i try to connect from stage or another env i receive CORS Errors.

@teetl6 Did you find a solution yet?

@jrmcdona
Copy link

Same here

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

3 participants