fix(selfhost): pin MinIO images and add application health checks
This commit is contained in:
10
frontend/server/api/health.get.ts
Normal file
10
frontend/server/api/health.get.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export default defineEventHandler((event) => {
|
||||
setHeader(event, 'Cache-Control', 'no-store')
|
||||
const config = useRuntimeConfig(event)
|
||||
return {
|
||||
status: 'ok',
|
||||
product: 'FEDEO',
|
||||
version: config.public.fedeoVersion,
|
||||
revision: config.public.fedeoRevision,
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user