feat: adicionar healthcheck no frontend para evitar bad gateway
This commit is contained in:
5
frontend/src/app/api/health/route.ts
Normal file
5
frontend/src/app/api/health/route.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
|
||||
export async function GET() {
|
||||
return NextResponse.json({ status: 'ok', timestamp: new Date().toISOString() });
|
||||
}
|
||||
Reference in New Issue
Block a user