adding health check endpoint for AWS ALB
This commit is contained in:
parent
d44ff8ceeb
commit
82218c3a50
|
@ -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