From 497408624ad1ee11685eae4914c99e2936d3e3dc Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 26 May 2026 18:32:41 +0200 Subject: [PATCH] v0.7.0 fix: remove obsolete GET / in health routes (collides with new landing /) --- src/routes/health.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/routes/health.ts b/src/routes/health.ts index e9f0df1..43414b2 100644 --- a/src/routes/health.ts +++ b/src/routes/health.ts @@ -8,16 +8,9 @@ const pkg = JSON.parse(readFileSync(resolve(process.cwd(), 'package.json'), 'utf }; export async function healthRoutes(app: FastifyInstance): Promise { - app.get('/', async () => ({ - ok: true, - name: pkg.name, - version: pkg.version, - note: 'closed orchestrator server for the WordPress IDE plugin', - endpoints: { - health: 'GET /v1/health', - runs: 'POST /v1/runs (orchestrator entrypoint — step 4+)', - }, - })); + // Note: `/` used to return an API-directory JSON here (since v0.2.0). + // Removed in v0.7.0 because the marketing landing page now owns `/`. + // The same info is at GET /v1/health and on the human-facing /docs page. app.get('/v1/health', async () => ({ ok: true,