Skip to content

Commit

Permalink
fix: add api /healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Jan 1, 2025
1 parent 55732b4 commit 5c3632e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ app.get("/", (req, res) => {
res.status(404).send("Not found");
});

app.get("/healthz", (req, res) => {
res.json({ status: "ok" });
});

app.listen(port, () => {
console.log(`Example app listening on port ${port}`);
});

0 comments on commit 5c3632e

Please sign in to comment.