diff --git a/packages/appview/src/index.ts b/packages/appview/src/index.ts index 4990d8e..2c09993 100644 --- a/packages/appview/src/index.ts +++ b/packages/appview/src/index.ts @@ -139,6 +139,11 @@ export class Server { // Serve static files app.use(express.static(frontendPath)) + // Heathcheck + app.get('/health', (req, res) => { + res.status(200).json({ status: 'ok' }) + }) + // For any other requests, send the index.html file app.get('*', (req, res) => { // Only handle non-API paths