Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: Express 5 wildcard route syntax

Adam Eivydbf52b996ce8
diff --git a/server/index.js b/server/index.js
index 6d2bc42c48..49795cb2f1 100644
--- a/server/index.js
+++ b/server/index.js
@@ -246,7 +246,7 @@ const CLIENT_DIST = join(__dirname, '..', 'client', 'dist');
if (existsSync(CLIENT_DIST)) {
app.use(express.static(CLIENT_DIST));
// SPA fallback: serve index.html for non-API routes
- app.get('*', (req, res) => {
+ app.get('/{*splat}', (req, res) => {
res.sendFile(join(CLIENT_DIST, 'index.html'));
});
console.log(`📦 Serving built UI from client/dist`);