I’m having an issue with CORS and MIME type on local host. I don’t see this issue on our production web site.
Developing on my work machine using localhost I am seeing this when loading a page with an a notebook embedded with javascript.
Loading module from “https://api.observablehq.com/d/ff228e1856cc1d86@779.js?v=3” was blocked because of a disallowed MIME type (“application/json”).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.observablehq.com/d/ff228e1856cc1d86@779.js?v=3. (Reason: CORS request did not succeed). Status code: (null).
I don’t understand why I’m getting the disallowed mime-type either?
thanks,
Scott