From 8a1728cbce5efc47c84fac8db0429347ed6a1164 Mon Sep 17 00:00:00 2001 From: chahinebrini Date: Wed, 29 Jul 2026 21:40:59 +0200 Subject: [PATCH] fix(server): Wurzel-URL leitet aufs Board statt 404 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://:3377/ antwortete mit 404 — das Board liegt auf /board. Wer prueft, ob der Hub laeuft, oeffnet aber genau die Wurzel-URL und haelt ihn dann faelschlich fuer tot. Vom CEO gemeldet, mir selbst heute einmal passiert. Co-Authored-By: Claude Opus 5 (1M context) --- src/server/routes.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/routes.ts b/src/server/routes.ts index c2f6878..a08696c 100644 --- a/src/server/routes.ts +++ b/src/server/routes.ts @@ -171,6 +171,11 @@ export async function registerRoutes(app: FastifyInstance, cwd: string): Promise // Static, self-contained Trello-like board. Polls /tasks, /handoffs and // /decisions on the same origin; no build step, no deps. Cached once — the // markup is constant, only the data it fetches changes. + // Wurzel-URL auf das Board leiten. Ohne das antwortet http://:3377/ + // mit 404 — wer "laeuft der Hub?" pruefen will, oeffnet aber genau diese + // Adresse und haelt den Hub faelschlich fuer tot (real passiert). + app.get('/', async (_request, reply) => reply.redirect('/board', 302)); + const boardHtml = renderBoardHtml(loadConfig(cwd).projectName); app.get('/board', async (_request, reply) => reply.type('text/html; charset=utf-8').send(boardHtml));