adding health check endpoint for AWS ALB

This commit is contained in:
Martin McKeaveney 2020-10-16 22:02:17 +01:00
parent 055e93ed7e
commit afa5418d5a
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ router
process.env.NODE_ENV !== "cypress"
await next()
})
.use("/health", ctx => (ctx.status = 200))
.use(authenticated)
// error handling middleware