morsdyce / mimic

Seamless client side mocking
https://mimic.js.org
MIT License
395 stars 37 forks source link

Mimic UI fails to load because of invalid MIME type #256

Open iddan opened 6 years ago

iddan commented 6 years ago

Using mimic-remote

Fails in Chrome with the error: Refused to execute script from 'http://localhost:5000/mimic.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Fails in Safari: Did not load script at 'http://localhost:5000/mimic.js' because non script MIME types are not allowed when 'X-Content-Type: nosniff' is given. Global Code — localhost:13

Fails in Safari: Loading failed for the <script> with source “http://localhost:5000/mimic.js”.

morsdyce commented 6 years ago

Thanks, will look into this