Fix path for gateway

This commit is contained in:
CrispyBaguette 2021-11-21 20:18:43 +01:00
parent 0ec07b01bc
commit c664602314
2 changed files with 3 additions and 3 deletions

4
dist/index.html vendored
View File

@ -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 {

2
dist/main.js vendored
View File

@ -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);