Skip to content

script has an unsupported MIME type ('text/plain') #41

@claytoncarney

Description

@claytoncarney

Trying to use simplehttp2server as a development server to conduct Lighthouse testing. It is not working because the server is setting content-type for javascript files to 'text/plain' rather than ​'application/javascript'. As a result, the service worker fails to load. How could this issue be resolved?

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