diff options
author | Martin Fischer <martin@push-f.com> | 2022-08-09 22:16:55 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-08-14 00:27:22 +0200 |
commit | dc20e1df60c1e4e81d1e16e8f177a1c6956966b7 (patch) | |
tree | 416c7aee00987cbd3f75b18ca022d7272ce310da /src/static/update_hashes.sh | |
parent | 127597a9ced661cd94f3f5a4feecef74eb197334 (diff) |
allow inline CSS (for lua scripts)
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 3bcdb78..d1c14d2 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 style.css edit_script.js; do +for script in edit_script.js; do printf "'sha256-%s'" $(shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0) > $script.sha done |