Skip to content

Commit

Permalink
pointfree-wasm.js has to be imported relatively
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Oct 12, 2024
1 parent 2efd3ca commit 63b2b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h1 class="title">Pointfree.wasm</h1>
<script type="module">

import { WASI, OpenFile, File, ConsoleStdout } from "https://cdn.jsdelivr.net/npm/@bjorn3/[email protected]/dist/index.js"
import ghc_wasm_jsffi from "pointfree-wasm.js";
import ghc_wasm_jsffi from "./pointfree-wasm.js";

const fds = [
new OpenFile(new File([])), // stdin
Expand Down

0 comments on commit 63b2b13

Please sign in to comment.