diff --git a/Makefile b/Makefile index 54e4cf8..b0cbb65 100644 --- a/Makefile +++ b/Makefile @@ -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