graphql-cli / graphql-cli-voyager

GraphQL Voyager plugin for graphql-cli
MIT License
21 stars 3 forks source link

Failed to load voyager.worker.js #26

Open konsumer opened 6 years ago

konsumer commented 6 years ago

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

Failed to load http://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.19/dist/voyager.worker.js: Redirect from 'http://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.19/dist/voyager.worker.js' to 'https://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.19/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