Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

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

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