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

mainnet.dfinity.network #7

Open
toby3582 opened this issue Apr 9, 2023 · 1 comment
Open

mainnet.dfinity.network #7

toby3582 opened this issue Apr 9, 2023 · 1 comment

Comments

@toby3582
Copy link

toby3582 commented Apr 9, 2023

Access to fetch at 'https://mainnet.dfinity.network/api/v2/status' from origin 'https://2ji5m-raaaa-aaaah-aanoa-cai.raw.ic0.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

@dipanshuhappy
Copy link

Access to fetch at 'https://mainnet.dfinity.network/api/v2/status' from origin 'https://2ji5m-raaaa-aaaah-aanoa-cai.raw.ic0.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

You need to do dfx start and get the url and pass that as the host if you are testing in dev

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

2 participants