Skip to content

Commit 5e3956b

Browse files
Merge pull request #2044 from Tony133/docs/terminus
docs(terminus): added warning for Http Health Indicator
2 parents 286a0ed + 9ab8a24 commit 5e3956b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/recipes/terminus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export class HealthController {
9898
}
9999
```
100100

101+
> warning **Warning** `HttpHealthIndicator` requires the installation of the `@nestjs/axios` package and the import of `HttpModule`.
102+
101103
Our health check will now send a _GET_-request to the `https://docs.nestjs.com` address. If
102104
we get a healthy response from that address, our route at `http://localhost:3000/health` will return
103105
the following object with a 200 status code.

0 commit comments

Comments
 (0)