Skip to content

Commit

Permalink
Adding subresource integrity checks for cloudflare URLs (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea authored Nov 18, 2024
1 parent c017f68 commit e20a56c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _includes/layout/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<script src="https://kit.fontawesome.com/e0e120b2f0.js"></script>

<!-- JQUERY -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha256-ImQvICV38LovIsvla2zykaCTdEh1Z801Y+DSop91wMU=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js" integrity="sha256-1A78rJEdiWTzco6qdn3igTBv9VupN3Q1ozZNTR4WE/Y=" crossorigin="anonymous"></script>
<script src="{{ "/js/jquery.navgoco.min.js" | prepend: site.baseurl }}"></script>

<!-- FAVICONS -->
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<!-- Used for creating heading anchors -->
<!-- Source: https://github.com/bryanbraun/anchorjs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js" integrity="sha256-Se2cNa4i303/27D+V3iMy2QI+whGR88DzeX6bh3/lnU=" crossorigin="anonymous"></script>
<script>
anchors.add('.anchored');
</script>
Expand Down

0 comments on commit e20a56c

Please sign in to comment.