Skip to content

Commit 376fda3

Browse files
committed
Fix
1 parent 402e921 commit 376fda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js-executor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default class JsExecutor {
218218
// necessary to load stdlib.wasm before its initialization to parallelize
219219
// language=JavaScript
220220
(`const stdlibWasm = fetch('${API_URLS.STDLIB_WASM(hash)}');\n` + script).replace(
221-
"new URL('./stdlib.wasm',import.meta.url).href",
221+
"fetch(new URL('./stdlib.wasm',import.meta.url).href)",
222222
"stdlibWasm"
223223
).replace(
224224
"(extends) => { return { extends }; }",

0 commit comments

Comments
 (0)