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

Failed to load voyager.worker.js #26

Open
konsumer opened this issue Sep 1, 2018 · 0 comments
Open

Failed to load voyager.worker.js #26

konsumer opened this issue Sep 1, 2018 · 0 comments

Comments

@konsumer
Copy link

konsumer commented Sep 1, 2018

Looks like a CORS policy is blocking graphql-cli-voyager from loading:

Failed to load http://cdn.jsdelivr.net/npm/[email protected]/dist/voyager.worker.js: Redirect from 'http://cdn.jsdelivr.net/npm/[email protected]/dist/voyager.worker.js' to 'https://cdn.jsdelivr.net/npm/[email protected]/dist/voyager.worker.js' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:7000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

voyager:1 Uncaught (in promise) TypeError: Failed to fetch
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