Files
kycnotme/web/src/pages/internal-api/healthcheck.ts

18 lines
343 B
TypeScript
Raw Normal View History

2025-05-22 22:38:41 +00:00
import type { APIRoute } from 'astro'
export const GET: APIRoute = () => {
return new Response(
JSON.stringify({
message: 'OK',
timestamp: new Date().toISOString(),
}),
{
status: 200,
headers: {
2025-06-09 10:00:55 +00:00
'Access-Control-Allow-Origin': '*',
2025-05-22 22:38:41 +00:00
'Content-Type': 'application/json',
},
}
)
}