diff --git a/wasm/argon_wasm.js b/wasm/argon_wasm.js index 0edaeb3..187509b 100644 --- a/wasm/argon_wasm.js +++ b/wasm/argon_wasm.js @@ -666,9 +666,8 @@ window.ArgonWASMRuntime = async (config = {}) => { } }; const go = new Go(); - const file = fetch(path); const result = await WebAssembly.instantiateStreaming( - (await file).clone(), + fetch(path), go.importObject );