Skip to content

MIME type error #31

Description

@karlnoelle

I found the following issue:

I'm getting a Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. error and can't seem to get the pattern library to see the files in /js.

Just wondering if there's something that could be done. I'm trying to add some javascript to build out more patterns but am stuck at this spot. Googling the error code hasn't led to any specific fix that would work with the way this pattern library app is setup. The app seems to run fine but the included js files aren't being seen:
image

Explicitly setting type="application/javascript" hasn't helped either.

Any help would be greatly appreciated!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions