Skip to content

Commit 50bc729

Browse files
committed
Merge branch 'dev-from-macmini' of github.com:myoshi2891/AlgorithmStudy into dev-from-macmini
2 parents 20262e8 + 0ca9ac2 commit 50bc729

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

calc_sri_fix.sh

100755100644
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -euo pipefail
44

5+
# calculate_sri downloads the given URL, computes the SHA-384 SRI hash of its content (base64) and echoes a line "<url> sha384-<base64_hash>".
56
calculate_sri() {
67
local url="$1"
78
local temp_file
@@ -27,4 +28,4 @@ calculate_sri() {
2728
}
2829

2930
calculate_sri "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/line-numbers/prism-line-numbers.min.js"
30-
calculate_sri "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/toolbar/prism-toolbar.min.js"
31+
calculate_sri "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/toolbar/prism-toolbar.min.js"

0 commit comments

Comments
 (0)