Skip to content

Errors in samples for CORS and bad requests #1089

Description

@damyanpetev

As seen in
https://www.infragistics.com/products/ignite-ui-react/react/components/grids/hierarchical-grid/row-drag#example-demo
Image

one being CORS-related:

Access to fetch at 'https://infragistics.com/react-demos/meta.json' from origin 'https://www.infragistics.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

And the other being seemingly mime-type

installHook.js:1 SW Error during service worker registration: SecurityError: Failed to register a ServiceWorker for scope ('https://www.infragistics.com/react-demos//') with script ('https://www.infragistics.com/react-demos//service-worker.js'): The script has an unsupported MIME type ('text/html').

But it's actually 404 - the script request is just wrong and the samples browser returns the same "coming soon" placeholder page

Activity

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

Metadata

Metadata

Assignees

Labels

bug: in-browserrelated to code of sample browser

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions