File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
examples/test-status-monitor/src Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55 StatusMonitorModule ,
66 StatusMonitorConfiguration ,
77} from '../../../dist/index' ;
8- import { HealtController } from './healtController ' ;
8+ import { HealthController } from './healthController ' ;
99
1010const 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} )
6262export class AppModule { }
Original file line number Diff line number Diff line change 11import { 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 {
You can’t perform that action at this time.
0 commit comments