Skip to content

Commit

Permalink
Hotfix integrity hash
Browse files Browse the repository at this point in the history
  • Loading branch information
coinshot committed Oct 13, 2023
1 parent 39f58f3 commit 4710284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
build:
wasm-pack build --scope pixelcities --target web
sed -i 's|fetch(input)|fetch(input, {integrity: "$(shell cat pkg/datafusion_wasm_bg.wasm | openssl dgst -sha384 -binary | openssl base64 -A)"})|g' pkg/datafusion_wasm.js
sed -i 's|fetch(input)|fetch(input, {integrity: "sha384-$(shell cat pkg/datafusion_wasm_bg.wasm | openssl dgst -sha384 -binary | openssl base64 -A)"})|g' pkg/datafusion_wasm.js

0 comments on commit 4710284

Please sign in to comment.