admin管理员组文章数量:1316828
In chrome beta version I got the below error in one of my app,
Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:8000/assets/vendor-2d2d91b98d3771c414a0b039e0b4d8c1.js' with puted SHA-256 integrity 'RtMfPvtdjkEbERLgZ70Z5f8rCHbsou/DcqEZCXiM8ME='. The resource has been blocked.
As github thread pointed out that its fixed but I am getting this error in ember-cli-2.14.1
and "ember-cli-sri": "^2.1.0",
so I am going to include integrity=''
. I would like to know , is there any consequences for this change?
In chrome beta version I got the below error in one of my app,
Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:8000/assets/vendor-2d2d91b98d3771c414a0b039e0b4d8c1.js' with puted SHA-256 integrity 'RtMfPvtdjkEbERLgZ70Z5f8rCHbsou/DcqEZCXiM8ME='. The resource has been blocked.
As github thread pointed out that its fixed but I am getting this error in ember-cli-2.14.1
and "ember-cli-sri": "^2.1.0",
so I am going to include integrity=''
. I would like to know , is there any consequences for this change?
- In your linked thread, someone mentions seeing this error message in the production build and someone else points out that that is probably a different issue. I am seeing this problem now with ember-cli 2.18.2 and (non-beta) Chrome 66 (possibly since 65) and only when reloading my app after deploying a new version - it goes away after clearing the browser cache, but I would like to know the root cause, too. – arne.b Commented Apr 24, 2018 at 7:32
1 Answer
Reset to default 6the script or css you draw in(maybe in CDN) has changed.But your html used integrity to ensure the file not changed. for example:
<script src="https://code.jquery./jquery-3.2.1.min.js" integrity="sha384-xBuQ/xzmlsLoJpyjoggmTEz8OWUFM0/RC5BsqQBDX2v5cMvDHcMakNTNrHIW2I5f" crossorigin="anonymous"></script>
本文标签:
版权声明:本文标题:javascript - In ember app chrome beta version - Failed to find a valid digest in the 'integrity' attribute for r 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742015121a2413623.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论