humanmade / aws-xray

HM Platform AWS X-Ray Integration
24 stars 4 forks source link

JS enqueue version needs updating #91

Open roborourke opened 1 year ago

roborourke commented 1 year ago

It seems there were some updates to the JS for flamegraphs, but the version wasn't updated from the 2019 date. For sites using the browser security plugin (default on Altis) the JS will fail to load due to integrity hash mismatch e.g.:

Failed to find a valid digest in the 'integrity' attribute for resource 'https://<project>.altis.cloud/vendor/humanmade/aws-xray/assets/flamegraph.js?ver=2019-11-13' with computed SHA-384 integrity '1leN0vA358KcOH6e0Y1nlQkIZnC7r/dZQTCgzYlj1ELqOSg4KjNnmYv/qwQaTvpr'. The resource has been blocked.