Skip to content

Commit 5a4feaf

Browse files
committed
docs(terminus): added warning for Http Health Indicator
1 parent b369245 commit 5a4feaf

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** To use the `HttpHealthIndicator` requires the installation of `@nestjs/axios` 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)