feat(scaffold): add src/health.controller.ts [skip ci]

This commit is contained in:
2026-05-11 13:00:13 +00:00
parent 7b65f8d1fa
commit 2702afd5f1

13
src/health.controller.ts Normal file
View File

@@ -0,0 +1,13 @@
import { Controller, Get } from '@nestjs/common';
import { HealthCheck, HealthCheckService } from '@nestjs/terminus';
@Controller('health')
export class HealthController {
constructor(private health: HealthCheckService) {}
@Get()
@HealthCheck()
check() {
return this.health.check([]);
}
}