import { NextResponse } from 'next/server'; export const dynamic = 'force-dynamic'; export async function GET() { // Payload is embedded within the Next.js app, so if this route responds, the CMS is up. // Further DB health checks can be implemented via Payload Local API later. return NextResponse.json({ status: 'ok', message: 'Payload CMS is embedded.' }, { status: 200 }); }