michael-lynch/open-weather

Demo is broked.

Closed this issue · 2 comments

Hey mate,
Just an FYI that the demo is broken.
http://michael-lynch.github.io/open-weather/

Christian

Thanks for letting me know. I was getting this error:

Refused to execute script from ... because its MIME type (text/plain) is not executable, and strict MIME type checking is enabled.

According to this StackOverflow thread, Chrome and Firefox recently adopted the X-Content-Type-Options: nosniff header that is more strict on MIME types. Github set their MIME type to be text/plain so now I can't link to the raw file on the Github server. I'll have to host it elsewhere.

I can see the weather now for Toronto.

Maybe you can do a codepen or jsfiddle to demo it?