Skip to content

Commit 8b7034d

Browse files
committed
Fix typo in example project
1 parent 46af2f7 commit 8b7034d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/test-status-monitor/src/app.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
StatusMonitorModule,
66
StatusMonitorConfiguration,
77
} from '../../../dist/index';
8-
import { HealtController } from './healtController';
8+
import { HealthController } from './healthController';
99

1010
const statusMonitorConfig: StatusMonitorConfiguration = {
1111
pageTitle: 'Nest.js Monitoring Page',
@@ -16,13 +16,13 @@ const statusMonitorConfig: StatusMonitorConfiguration = {
1616
{
1717
protocol: 'http',
1818
host: 'localhost',
19-
path: '/healt/alive',
19+
path: '/health/alive',
2020
port: 3001,
2121
},
2222
{
2323
protocol: 'http',
2424
host: 'localhost',
25-
path: '/healt/dead',
25+
path: '/health/dead',
2626
port: 3001,
2727
},
2828
],
@@ -56,7 +56,7 @@ const statusMonitorConfig: StatusMonitorConfiguration = {
5656

5757
@Module({
5858
imports: [StatusMonitorModule.setUp(statusMonitorConfig)],
59-
controllers: [AppController, HealtController],
59+
controllers: [AppController, HealthController],
6060
providers: [AppService],
6161
})
6262
export class AppModule {}

examples/test-status-monitor/src/healtController.ts renamed to examples/test-status-monitor/src/healthController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Get, Controller, HttpCode } from '@nestjs/common';
22

3-
@Controller('healt')
4-
export class HealtController {
3+
@Controller('health')
4+
export class HealthController {
55
@Get('alive')
66
@HttpCode(200)
77
alive(): string {

0 commit comments

Comments
 (0)