-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to edit permissible MIME types #133
Comments
Would a process like this work for you...
you would have to do this each time you install web server on a new computer. (don't try this, I didn't code it yet) |
Just bumped into this issue. The server could just support JavaScript modules by returning the correct MIME-type? Modules are coming, and they require correct MIME type https://developers.google.com/web/fundamentals/primers/modules I would propose to change this issue to "Support JavaScript modules" since that was the original problem |
I guess something similar also needs to happen for .wasm to application/wasm. edit: |
I'm trying to serve an mjs file but the browser rejects using it. It says:
Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.
The text was updated successfully, but these errors were encountered: