adding health check endpoint for AWS ALB
This commit is contained in:
parent
055e93ed7e
commit
afa5418d5a
|
@ -51,6 +51,7 @@ router
|
|||
process.env.NODE_ENV !== "cypress"
|
||||
await next()
|
||||
})
|
||||
.use("/health", ctx => (ctx.status = 200))
|
||||
.use(authenticated)
|
||||
|
||||
// error handling middleware
|
||||
|
|
Loading…
Reference in New Issue