16 lines
311 B
TypeScript
16 lines
311 B
TypeScript
import { NextResponse } from 'next/server';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export async function GET() {
|
|
return NextResponse.json(
|
|
{
|
|
status: 'ok',
|
|
service: 'afrohub-front',
|
|
timestamp: new Date().toISOString(),
|
|
uptime: process.uptime(),
|
|
},
|
|
{ status: 200 }
|
|
);
|
|
}
|