From 82218c3a50c8d5d772d357f2d2859c72a6e4a64c Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 16 Oct 2020 22:02:17 +0100 Subject: [PATCH] adding health check endpoint for AWS ALB --- packages/server/src/api/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/api/index.js b/packages/server/src/api/index.js index 5d5f64459e..0a4de71135 100644 --- a/packages/server/src/api/index.js +++ b/packages/server/src/api/index.js @@ -51,6 +51,7 @@ router process.env.NODE_ENV !== "cypress" await next() }) + .use("/health", ctx => (ctx.status = 200)) .use(authenticated) // error handling middleware