binlib changes
This commit is contained in:
parent
89302a5534
commit
3a5bdb3bbb
2 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head id="head">
|
||||
<script src="env.js"></script>
|
||||
<script src="runtime.js" id="runtime-script" type="module"></script>
|
||||
<script src="/env.js" type="module"></script>
|
||||
<script src="/runtime.js" id="runtime-script" type="module"></script>
|
||||
</head>
|
||||
<body style="margin:0;" id="body"></body>
|
||||
</html>
|
||||
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue