mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
dont require clone
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user