Fix: add script integrity, add check to validate that script integrity is always in place

This commit is contained in:
Pieter Vander Vennet 2023-08-23 12:50:20 +02:00
parent 3f0ca80117
commit 08bbbcabc4
6 changed files with 85 additions and 15 deletions

View file

@ -50,7 +50,7 @@
</div>
<script type="module" src="./src/notfound.ts"></script>
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js" crossorigin="anonymous" integrity="sha384-gtO6vSydQeOAGGK19NHrlVLNtaDSJjN4aGMWschK+dwAZOdPQWbjXgL+FM5XsgFJ"></script>
</body>
</html>