Skip to content

Commit f0c2d39

Browse files
authored
🌡️ feat: Add Health Check Route to Backend (danny-avila#1623)
1 parent 3075ad5 commit f0c2d39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/server/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ const startServer = async () => {
2828
const app = express();
2929
await AppService(app);
3030

31+
app.get('/health', (_req, res) => res.status(200).send('OK'));
32+
3133
// Middleware
3234
app.use(noIndex);
3335
app.use(errorController);

0 commit comments

Comments
 (0)