Skip to content

Commit

Permalink
migroserbices/falin: add healthz route
Browse files Browse the repository at this point in the history
Signed-off-by: Xe Iaso <[email protected]>
  • Loading branch information
Xe committed Oct 5, 2024
1 parent d0590e1 commit b1b730c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migroserbices/falin/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ app.use(expressConnectMiddleware({
routes
}));

app.get("/", function (req, res) {
res.send("hello, world!");
app.get("/healthz", function (_req, res) {
res.send("OK");
});

http.createServer(app).listen(8080);

0 comments on commit b1b730c

Please sign in to comment.