Skip to content

Commit 0ebb883

Browse files
authored
Fixed demos on landing page deploy (#407)
BundlePaths for .avm bundles updated. Verified on locally run docker container. (base.Dockerfile -> landing.Dockerfile -> localhost)
1 parent 73c379e commit 0ebb883

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

misc/landing-page/src/pages/demos/eval.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ end"
135135

136136
try {
137137
popcorn = await window.Popcorn.init({
138-
bundlePath: "/wasm/eval.avm",
138+
bundlePath: "../wasm/eval.avm",
139139
wasmDir: "/wasm/",
140140
debug: true,
141141
onStdout: (text) => displayLog(text, { isError: false }),

misc/landing-page/src/pages/demos/game-of-life.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ import Section from "../../components/Section.astro";
137137
async function init() {
138138
try {
139139
await Popcorn.init({
140-
bundlePath: "/wasm/gol.avm",
140+
bundlePath: "../wasm/gol.avm",
141141
wasmDir: "/wasm/",
142142
debug: false,
143143
onStdout: (text: string) => console.log(text),

0 commit comments

Comments
 (0)