Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(view): serve the Home route after reload [N26,H5]

Corey Olson48e75f84b2fd
diff --git a/src/serve.js b/src/serve.js
index 912db7b0..2516f47e 100644
--- a/src/serve.js
+++ b/src/serve.js
@@ -598,7 +598,7 @@ export async function serveView({ port = 0, secret = randomBytes(18).toString('b
}
try {
// The board, and the Roadmap at its own address (N38), are the one page.
- if (req.method === 'GET' && (url.pathname === '/' || /^\/(?:[^/]+\/)?(?:items|shouts|spec|doctrine|activity|roadmap|settings)(?:\/[^/]+)?$/.test(url.pathname))) return reply(res, 200, 'text/html; charset=utf-8', cockpitPage(secret, { paths: true }));
+ if (req.method === 'GET' && (url.pathname === '/' || /^\/(?:[^/]+\/)?(?:home|items|shouts|spec|doctrine|activity|roadmap|settings)(?:\/[^/]+)?$/.test(url.pathname))) return reply(res, 200, 'text/html; charset=utf-8', cockpitPage(secret, { paths: true }));
if (req.method === 'GET' && url.pathname === '/view.css') return reply(res, 200, 'text/css; charset=utf-8', VIEW_CSS);
return json(res, 404, { error: 'no such page' });
} catch (error) {