fix
Some checks failed
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Failing after 14s

This commit is contained in:
2025-09-26 21:03:42 -06:00
parent c5a1c6aaf0
commit efb942d4c1
3 changed files with 18 additions and 3 deletions

View File

@@ -20,10 +20,12 @@ export function createApp() {
// REST API
app.use('/api', apiRouter);
// Simple health endpoint for reverse proxies / checks
app.get('/healthz', (_req, res) => res.json({ ok: true }));
app.get('/', (_req, res) => {
res.sendFile(path.join(__dirname, '..', 'public', 'index.html'));
});
return app;
}