chore: Add /_health endpoint to all services

closes #2506
This commit is contained in:
Tom Moor
2021-08-29 19:44:06 -07:00
parent 2024c6e64f
commit 08a8fea69a
2 changed files with 7 additions and 2 deletions

View File

@ -93,8 +93,6 @@ koa.use(
})
);
router.get("/_health", (ctx) => (ctx.body = "OK"));
if (process.env.NODE_ENV === "production") {
router.get("/static/*", async (ctx) => {
ctx.set({