Skip to content

Commit bdbbd65

Browse files
committed
wip
1 parent 102f2d3 commit bdbbd65

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
File renamed without changes.

scripts/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
yarn build
44
rm -rf www
55
mkdir www
6-
cp -r dist/main.js index.html inter.css decals.glb whats-new fonts defaults resources/* .vercel www/
6+
cp -r dist/main.js whats-new fonts defaults resources/* .vercel www/
77
cd www
88
vercel deploy --prod

src/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,10 @@ Promise.all([
198198
fetch("/defaults/nodes.json").then((r) => r.json()),
199199
fetch("/whats-new/latest.md").then((r) => r.text()),
200200
fetch("/defaults/default_project.json").then((r) => r.json()),
201+
fetch("/demo1.json").then((r) => r.json()),
201202
])
202-
.then(([nodes, text, default_project]) => {
203-
window.default_project = default_project;
203+
.then(([nodes, text, default_project, demo]) => {
204+
window.default_project = demo;
204205
if (!localStorage.getItem("welcome-message")) {
205206
const root = ReactDOM.createRoot(document.getElementById("modals"));
206207
root.render(<WhatsNewModal text={text} onClose={() => root.unmount()} />);

0 commit comments

Comments
 (0)