Fix path for gateway
This commit is contained in:
parent
0ec07b01bc
commit
c664602314
4
dist/index.html
vendored
4
dist/index.html
vendored
@ -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
2
dist/main.js
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user