Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fkohlgrueber committed May 15, 2020
1 parent 8070c23 commit ab50381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>Yew</title>
<script src="/pkg/bundle.js" defer></script>
<script src="./pkg/bundle.js" defer></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import init, { run_app } from './pkg/yew_wasm_pack_minimal.js';
async function main() {
await init('/pkg/yew_wasm_pack_minimal_bg.wasm');
await init('./pkg/yew_wasm_pack_minimal_bg.wasm');
run_app();
}
main()

0 comments on commit ab50381

Please sign in to comment.