Skip to content

Commit

Permalink
Fix path for gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispyBaguette committed Nov 21, 2021
1 parent 0ec07b0 commit c664602
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<html>
<head>
<meta charset="utf-8" />
<script src="/wasm_exec.js"></script>
<script async src="/main.js"></script>
<script src="./wasm_exec.js"></script>
<script async src="./main.js"></script>
<style>
@media (prefers-color-scheme: dark) {
body {
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Setup Wasm stuff
const go = new Go();
vm = await WebAssembly.instantiateStreaming(
fetch("/main.wasm"),
fetch("./main.wasm"),
go.importObject
);
go.run(vm.instance);
Expand Down

0 comments on commit c664602

Please sign in to comment.