feat: register health controller

This commit is contained in:
Sammy Teillet 2023-04-14 16:53:23 +02:00
parent bd884c7407
commit 0d82751b9b
No known key found for this signature in database
GPG Key ID: 687E513E74D28696

View File

@ -1,10 +1,12 @@
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { HealthController } from './health.controller';
import { TerminusModule } from '@nestjs/terminus';
@Module({
imports: [],
controllers: [AppController],
imports: [TerminusModule],
controllers: [AppController, HealthController],
providers: [AppService],
})
export class AppModule {}