Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(dev): mirror production's /app routing in the Vite dev server

nirholas1fd056a852f2
diff --git a/vite.config.js b/vite.config.js
index 105de0874..fa3e1c6f3 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1001,7 +1001,13 @@ support: resolve(__dirname, 'pages/support.html'),
'/tour-builder/': resolve(root, 'pages/tour-builder.html'),
'/agent-identities': resolve(root, 'pages/agent-identities.html'),
'/agent-identities/': resolve(root, 'pages/agent-identities.html'),
- '/app': resolve(root, 'pages/app.html'),
+ // Production routes /app to the Next viewer and leaves app.html
+ // reachable only at /app-classic (vercel.json). Dev has to mirror
+ // that, or every /app change gets exercised against the wrong page.
+ '/app': resolve(root, 'pages/app-next.html'),
+ '/app/': resolve(root, 'pages/app-next.html'),
+ '/app-next': resolve(root, 'pages/app-next.html'),
+ '/app-classic': resolve(root, 'pages/app.html'),
'/widget': resolve(root, 'pages/widget.html'),
'/widget/': resolve(root, 'pages/widget.html'),
'/login': resolve(root, 'public/login.html'),