diff options
Diffstat (limited to 'src/static/update_hashes.sh')
-rwxr-xr-x | src/static/update_hashes.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/update_hashes.sh b/src/static/update_hashes.sh index ac6c6a1..3bcdb78 100755 --- a/src/static/update_hashes.sh +++ b/src/static/update_hashes.sh @@ -1,5 +1,5 @@ #/bin/sh cd "$(dirname "$0")" -for script in *.css *.js; do +for script in style.css edit_script.js; do printf "'sha256-%s'" $(shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0) > $script.sha done |