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

This commit is contained in:
2026-05-11 14:48:05 +00:00
parent a49c88f06a
commit 10deefe8df

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([]);
}
}