jeudi 17 mars 2016

Failed to find a valid digest in the 'integrity' attribute for resource

I have deployed my EmberJS appication in my linux box (I have followed this Guide for deployment) in /var/www/site and I get a white screen

Failed to find a valid digest in the 'integrity' attribute for resource 'http://ip:port/assets/vendor-2ac5f56489f7a9cdc6e33798267618fb.css' with computed SHA-256 integrity 'redactedbitsredactedbitsredactedbits='. The resource has been

(index):89 Failed to find a valid digest in the 'integrity' attribute for resource 'http://ip:port/assets/site-d41d8cd98f00b204e9800998ecf8427e.css' with computed SHA-256 integrity 'redactedbitsredactedbitsredactedbits='. The resource has been blocked.

I have followed this Link and tried making the integrity part as

<script src="stylesheet" href="assets/vendor-6e705aab52cb0187961ac3ea6778159a.js" integrity="" ></script>

from

<script src="stylesheet" href="assets/vendor-6e705aab52cb0187961ac3ea6778159a.js" integrity="sha512 redactedbitsredactedbitsredactedbits" ></script>

then i get

Uncaught SyntaxError: Unexpected token ILLEGAL
site-cf9e9e7….js:1 Uncaught SyntaxError: Unexpected token ILLEGAL

with the blank screen again. I am not sure what i am doing wrong.




Aucun commentaire:

Enregistrer un commentaire