chore: import DH V2 D5.6.4 production baseline
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { Public } from './auth/decorators/public.decorator';
|
||||
import { HealthService } from './health.service';
|
||||
|
||||
@Controller('health')
|
||||
export class HealthController {
|
||||
constructor(private readonly healthService: HealthService) {}
|
||||
|
||||
@Get()
|
||||
@Public()
|
||||
async health() {
|
||||
return this.healthService.check();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user