Files
aigen/server/api/health.get.ts
T
TowstyandCursor bc0ea613c1 Add a password-gated private instance mode for xaigen.
Keep Authentik on aigen, isolate library data per instance, and purge Comfy outputs from the desktop after they are saved on the server.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 19:24:00 -05:00

9 lines
228 B
TypeScript

export default defineEventHandler(async () => {
const comfy = await probeComfy().catch(() => ({ ok: false, host: '' }))
return {
ok: true,
service: useRuntimeConfig().public.instanceName || 'aigen',
comfy
}
})