This commit is contained in:
seb
2026-10-10 02:08:10 +02:00
parent d4e2b05cb0
commit 7f8661be3e
43 changed files with 3312 additions and 2339 deletions

View File

@@ -39,6 +39,8 @@ export function register(app, basePath = '') {
* error:
* type: string
*/
// #region GET /health
app.get(`${basePath}/health`, async (_request, response) => {
try {
await ensureConnection();
@@ -47,4 +49,6 @@ export function register(app, basePath = '') {
response.status(503).json({ ok: false, error: error.message });
}
});
// #endregion
}