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(sw): disable broken navigateFallback that served offline.html to live pages

nirholas4b2126d04cb3
diff --git a/vite.config.js b/vite.config.js
index f6af41585..3deae5676 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1049,6 +1049,13 @@ const appConfig = {
},
workbox: {
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
+ // null disables the VitePWA default navigateFallback ("index.html").
+ // This is an MPA — every /marketplace, /agent, etc. is a separate HTML
+ // file that must be fetched from the network, not redirected to a fallback.
+ // The old SW had offline.html wired as a NavigationRoute catch-all, which
+ // caused every navigation to a non-precached URL to be served offline.html
+ // even when the user was fully online.
+ navigateFallback: null,
globPatterns: ['**/*.{js,css,html,ico,woff2}'],
globIgnores: [
'pages/**',