chore: update gomark.wasm

This commit is contained in:
Steven 2024-03-03 14:56:40 +08:00
parent cfb50f19aa
commit ebcf43c997
3 changed files with 530 additions and 506 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -17,8 +17,7 @@ import theme from "./theme";
(async () => {
const go = new window.Go();
const responsePromise = fetch(gomarkWasm);
const { instance } = await WebAssembly.instantiateStreaming(responsePromise, go.importObject);
const { instance } = await WebAssembly.instantiateStreaming(fetch(gomarkWasm), go.importObject);
go.run(instance);
const container = document.getElementById("root");