Skip to content

Commit

Permalink
Fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Dec 7, 2021
1 parent aaa4216 commit 88e57c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/deno/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let wasi = new WASI({
args: [],
});

const moduleBytes = fetch("https://deno.land/x/wasm/tests/mapdir.wasm");
const moduleBytes = fetch("https://cdn.deno.land/wasm/versions/v1.0.1/raw/tests/mapdir.wasm");
const module = await WebAssembly.compileStreaming(moduleBytes);
await wasi.instantiate(module, {});

Expand Down
2 changes: 1 addition & 1 deletion examples/deno/helloworld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let wasi = new WASI({
args: [],
});

const moduleBytes = fetch("https://deno.land/x/wasm/tests/demo.wasm");
const moduleBytes = fetch("https://cdn.deno.land/wasm/versions/v1.0.1/raw/tests/demo.wasm");
const module = await WebAssembly.compileStreaming(moduleBytes);
await wasi.instantiate(module, {});

Expand Down

0 comments on commit 88e57c9

Please sign in to comment.