From a32ed0274543de04efa9423131f18a2e294ce8c2 Mon Sep 17 00:00:00 2001 From: Priere <44214460+shiyouganai@users.noreply.github.com> Date: Wed, 6 Dec 2023 16:57:43 -0500 Subject: [PATCH] Fix piano and two doc images --- website/src/pages/learn/pwa.mdx | 4 ++-- website/src/repl/prebake.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/pages/learn/pwa.mdx b/website/src/pages/learn/pwa.mdx index a283112d..ba4b6b83 100644 --- a/website/src/pages/learn/pwa.mdx +++ b/website/src/pages/learn/pwa.mdx @@ -49,7 +49,7 @@ A standalone app has its own desktop / homescreen icon and launches in a separat without the browser ui.
- Strudel on MacOS + ![Strudel on MacOS](/pwa/strudel-macos.png)
Strudel on MacOS
@@ -67,7 +67,7 @@ Without a chromium based browser, you can use [nativefier](https://github.com/na 2. run `npx nativefier strudel.cc`
- Strudel on Linux + ![Strudel on Linux](/pwa/strudel-linux.png)
Strudel on Linux
diff --git a/website/src/repl/prebake.mjs b/website/src/repl/prebake.mjs index 74ca0053..0670d57d 100644 --- a/website/src/repl/prebake.mjs +++ b/website/src/repl/prebake.mjs @@ -17,7 +17,7 @@ export async function prebake() { // => getting "window is not defined", as soon as "@strudel.cycles/soundfonts" is imported statically // seems to be a problem with soundfont2 import('@strudel.cycles/soundfonts').then(({ registerSoundfonts }) => registerSoundfonts()), - samples(`${baseNoTrailing}/piano.json`, `./piano/`, { prebake: true }), + samples(`${baseNoTrailing}/piano.json`, `${baseNoTrailing}/piano/`, { prebake: true }), // https://github.com/sgossner/VCSL/ // https://api.github.com/repositories/126427031/contents/ // LICENSE: CC0 general-purpose