我正在使用JavaScript和HTML開發一個網頁,一切正常 很好,當我從我的HTML頁面收到這個錯誤列表時:由於MIME類型不匹配導致資源被阻塞(X-Content-Type-Options:nosniff)
The resource from 「https://raw.githubusercontent.com/dataarts/dat.gui/master/build/dat.gui.min.js」
was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
The resource from 「https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.js」 was
blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
The resource from 「https://raw.githubusercontent.com/mrdoob/three.js/master/examples/js/renderers/CanvasRenderer.js」
was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
The resource from 「https://raw.githubusercontent.com/mrdoob/three.js/master/examples/js/renderers/Projector.js」
was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
The resource from 「https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.js」 was
blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
這些錯誤的自動更新的瀏覽器(Mozilla Firefox瀏覽器)之後出現,可以 的東西已經在建立改變。你知道任何方式來解決這個 問題嗎?
不要從GitHub加載文件。相反,使用CDN。 – SLaks