Closed Toastgeraet closed 4 years ago
This is strange. By default, local-web-server will return the correct MIME type for Javascript (application/javascript
). If it did not, thousands of people would be reporting a bug - including myself.
Please post a full reproduction case - code and commands I can run to see this issue failing for myself.
Closing for now as stale.
Hey, i created a lws.config.js to customize mime types, because my browser wont load javascript files: it complain about the mime type being text/plain.
Now the config output by 'ws --config' looks fine, but when tested in browser, the local web server still returns 'text/plain' for .js files.