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

[Docs] Queries example app is not working #12394

Open
deerawan opened this issue Feb 27, 2025 · 1 comment
Open

[Docs] Queries example app is not working #12394

deerawan opened this issue Feb 27, 2025 · 1 comment

Comments

@deerawan
Copy link

Issue Description

Open the example app as mentioned in Queries docs, it will display Error! Failed to fetch

Image

Link to Reproduction

https://codesandbox.io/p/sandbox/queries-example-app-final-nrlnl?file=%2Fsrc%2Findex.js

Reproduction Steps

No response

@apollo/client version

3.5.5

@phryneas
Copy link
Member

phryneas commented Feb 28, 2025

Thank you for the report!

The problem here is that as soon as you make changes, the example app gets cloned to another subdomain, and then the browser prevents requests between those subdomains, resulting in a CORS error.

I'll have to do some talking internally if we can find a way around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants