Skip to content

Failed to load voyager.worker.js #26

@konsumer

Description

@konsumer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions