Skip to content

Commit

Permalink
Fix loading iceberg module from subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed May 14, 2024
1 parent 0a2625b commit 196c3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/library.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
example.append(iced);
code.append(example);

let iceberg = await import(`./.icebergs/${hash}/iceberg.js`);
let iceberg = await import(`/.icebergs/${hash}/iceberg.js`);
await iceberg.default();
}

Expand Down

0 comments on commit 196c3ab

Please sign in to comment.