Skip to content

Commit 225b963

Browse files
authored
Update dummy.html
1 parent df821af commit 225b963

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pages/dummy.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
async function instantiateWasm(url, imports = {}) {
1313
try {
1414
const res = await fetch(url);
15-
if (!res.ok) throw new Error(`HTTP ${res.status} ${res.statusText}`);
16-
1715
return await WebAssembly.instantiateStreaming(res, imports);
1816
} catch (e) {
1917
throw new Error(`Failed to fetch/instantiate WASM: ${e.message}`);

0 commit comments

Comments
 (0)