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,