18 lines
371 B
TypeScript
Executable File
18 lines
371 B
TypeScript
Executable File
/**
|
|
* Health check endpoint for Docker and Kubernetes
|
|
*/
|
|
import { NextResponse } from 'next/server';
|
|
|
|
export async function GET() {
|
|
return NextResponse.json(
|
|
{
|
|
status: 'healthy',
|
|
timestamp: new Date().toISOString(),
|
|
service: 'btpxpress-frontend',
|
|
version: process.env.NEXT_PUBLIC_APP_VERSION || '1.0.0',
|
|
},
|
|
{ status: 200 }
|
|
);
|
|
}
|
|
|