Skip to content

Commit

Permalink
fix(tools): add integrity checks for the jquery cdn link
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Jan 8, 2022
1 parent 7e22872 commit 6f72236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/tools/librelingo_tools/templates/converter.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div id="output">
<div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script>
$(document).ready(function(){
var source_to_target = null;
Expand Down
2 changes: 1 addition & 1 deletion apps/tools/librelingo_tools/templates/missing_words.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>Missing Words</h2>
</div>


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script>
$(document).ready(function(){
//var source_to_target = null;
Expand Down

0 comments on commit 6f72236

Please sign in to comment.