Skip to content

Support js mime type #27

Description

@leunga1000

Hi Mark, just starting to serve static files, wondered if there was any scope for adding mime type js?

Others I think can work with text/html but with .js got 'Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec' in the web developer console.
It seems .css files will also need this too.

No biggie if not, plan is to eventually deploy UI files separately anyhow!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions