diff --git a/binlib/wasi-sysroot-28.0/index.html b/binlib/wasi-sysroot-28.0/index.html index 0dbbdf4..4c88da3 100644 --- a/binlib/wasi-sysroot-28.0/index.html +++ b/binlib/wasi-sysroot-28.0/index.html @@ -1,8 +1,8 @@ - - + + \ No newline at end of file diff --git a/binlib/wasi-sysroot-28.0/runtime.js b/binlib/wasi-sysroot-28.0/runtime.js index 248fcb0..7cb64dd 100644 --- a/binlib/wasi-sysroot-28.0/runtime.js +++ b/binlib/wasi-sysroot-28.0/runtime.js @@ -168,7 +168,7 @@ if(!window.crafter_webbuild_env){ window.crafter_webbuild_env.table = new WebAssembly.Table({ initial: 4, element: 'anyfunc' }); -const { instance } = await WebAssembly.instantiateStreaming(fetch("main.wasm"), { +const { instance } = await WebAssembly.instantiateStreaming(fetch("/main.wasm"), { "wasi_snapshot_preview1": wasi, env: window.crafter_webbuild_env });