Skip to content

Commit

Permalink
fix JS import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tifv authored Nov 5, 2023
1 parent e166735 commit 005a337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webconv/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

</style>
</head>
<script src="/pkg/exchange_desynced_web.js" type="module"></script>
<script src="./pkg/exchange_desynced_web.js" type="module"></script>
<body>
<div>
<textarea id="input" style="min-width: 600px;" rows="15"></textarea>
Expand All @@ -16,7 +16,7 @@
<div id="output"></div>
</body>
<script type="module">
import * as exchange_desynced_web from "/pkg/exchange_desynced_web.js";
import * as exchange_desynced_web from "./pkg/exchange_desynced_web.js";

async function main() {
await exchange_desynced_web.default();
Expand Down

0 comments on commit 005a337

Please sign in to comment.