cdn.bootcss.com无法访问 解决方法

今天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

posted @ 2019-03-22 14:18  PrinceS  阅读(3569)  评论(0编辑  收藏  举报