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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<script src="/wasm_exec.js"></script>
|
<script src="./wasm_exec.js"></script>
|
||||||
<script async src="/main.js"></script>
|
<script async src="./main.js"></script>
|
||||||
<style>
|
<style>
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
body {
|
||||||
|
2
dist/main.js
vendored
2
dist/main.js
vendored
@ -6,7 +6,7 @@
|
|||||||
// Setup Wasm stuff
|
// Setup Wasm stuff
|
||||||
const go = new Go();
|
const go = new Go();
|
||||||
vm = await WebAssembly.instantiateStreaming(
|
vm = await WebAssembly.instantiateStreaming(
|
||||||
fetch("/main.wasm"),
|
fetch("./main.wasm"),
|
||||||
go.importObject
|
go.importObject
|
||||||
);
|
);
|
||||||
go.run(vm.instance);
|
go.run(vm.instance);
|
||||||
|
Loading…
Reference in New Issue
Block a user