Release 202506091000
This commit is contained in:
17
web/src/pages/internal-api/healthcheck.ts
Normal file
17
web/src/pages/internal-api/healthcheck.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { APIRoute } from 'astro'
|
||||
|
||||
export const GET: APIRoute = () => {
|
||||
return new Response(
|
||||
JSON.stringify({
|
||||
message: 'OK',
|
||||
timestamp: new Date().toISOString(),
|
||||
}),
|
||||
{
|
||||
status: 200,
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user