1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

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

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