20 lines
353 B
TypeScript
20 lines
353 B
TypeScript
import { NextResponse } from 'next/server';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export async function GET() {
|
|
return NextResponse.json(
|
|
{
|
|
ok: true,
|
|
status: 'healthy',
|
|
timestamp: new Date().toISOString(),
|
|
},
|
|
{
|
|
status: 200,
|
|
headers: {
|
|
'cache-control': 'no-store, max-age=0',
|
|
},
|
|
}
|
|
);
|
|
}
|