Closed kellymears closed 2 years ago
Problem: nginx serves mjs as application/octet-stream and results in errors in the browser:
mjs
application/octet-stream
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream".
This change sets mjs as application/javascript so that these files are served in accordance with the HTML specification.
application/javascript
This integration test failure doesn't look like it's the result of my change, right?
@kellymears no, probably fixed by #1384
Problem: nginx serves
mjs
asapplication/octet-stream
and results in errors in the browser:This change sets
mjs
asapplication/javascript
so that these files are served in accordance with the HTML specification.