new file: main_dc/yalarba/easySite/easySite/server/api/health.get.ts
add health check endpoint
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// ~/server/api/health.get.ts
|
||||
export default defineEventHandler(async (event) => {
|
||||
console.log(event)
|
||||
return {
|
||||
status: 'healthy',
|
||||
timestamp: new Date().toISOString()
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user