今天angularjs的網站突然加載報錯,提示Refused to execute script from 'https://cdnjs.com/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled
后查看引用的//cdn.bootcss.com/require.js/2.1.11/require.min.js 無法打開。
解決方法:把所有 cdn.bootcss.com替換成cdnjs.cloudflare.com/ajax/libs