Skip to content

Commit ebec140

Browse files
committed
Add healthcheck endpoint outside of remix if remix routes are disabled
1 parent 67cac97 commit ebec140

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/webapp/server.ts

+5
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ if (process.env.HTTP_SERVER_DISABLED !== "true") {
7676
mode: MODE,
7777
})
7878
);
79+
} else {
80+
// we need to do the health check here at /healthcheck
81+
app.get("/healthcheck", (req, res) => {
82+
res.status(200).send("OK");
83+
});
7984
}
8085

8186

0 commit comments

Comments
 (0)