Skip to content

Commit 4a48db3

Browse files
committed
add checksum for downloaded JS files
1 parent e6ca48a commit 4a48db3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

resources/templates/header.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,18 @@
3636
<html>
3737

3838
<head>
39-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
40-
<script src="https://cdn.ckeditor.com/ckeditor5/35.1.0/classic/ckeditor.js"></script>
41-
39+
<script
40+
src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"
41+
integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq"
42+
crossorigin="anonymous"
43+
>
44+
</script>
45+
<script
46+
src="https://cdn.ckeditor.com/ckeditor5/35.1.0/classic/ckeditor.js"
47+
integrity="sha384-3j1XQYihAlsFkhoO7ydWkxt9nNxSBnHwJnSG5hx+8fjlz2xfaFHuwOM6T0umxnz6"
48+
crossorigin="anonymous"
49+
>
50+
</script>
4251
<style>
4352
<?php
4453
// set global css variables from branding

0 commit comments

Comments
 (0)