gismo141 / homebridge-server

Server plugin for homebridge
https://gismo141.github.io/configure-your-homebridge-2/
152 stars 20 forks source link

Hotlinking issue #24

Closed hirbod closed 7 years ago

hirbod commented 7 years ago

Well, you really should not hotlink a JS file. That's a nogo

//raw.githubusercontent.com/jdorn/json-editor/master/dist/jsoneditor.js

It's causing an error, as you specify the mime-type as text/javascript, but githubusercontent.com delivers

Could not load resource "https://raw.githubusercontent.com/jdorn/json-editor/master/dist/jsoneditor.js" blocked MIME-type (X-Content-Type-Options: nosniff).

gismo141 commented 7 years ago

Where does this happen? I don't know about that file? Is this from the plugins page when you click on the plugin name?

If yes this shouldn't happen as I linked to the npm-project page.

Please provide more information on when that happens - thanks!

hirbod commented 7 years ago

On every page.

Githubissues.
  • Githubissues is a development platform for aggregating issues.