Skip to content

Commit 19af8b7

Browse files
amish kohliamish kohli
authored andcommitted
fix ci/cd
1 parent 74f95c7 commit 19af8b7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/api/server.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ app.get('/api/rewards/:chain/:user', async (req : any , res : any) => {
7070
}
7171
});
7272

73+
// Add health check endpoint
74+
app.get('/', (req, res) => {
75+
res.status(200).json({ status: 'healthy' });
76+
});
77+
7378
app.listen(port, () => {
7479
console.log(`Server running on port ${port}`);
7580
});

0 commit comments

Comments
 (0)