From ee06316d017c8b6c40b926c9cee1faec74fa19ee Mon Sep 17 00:00:00 2001 From: demo-bot Date: Mon, 11 May 2026 10:42:45 +0000 Subject: [PATCH] feat(scaffold): add src/health.controller.ts [skip ci] --- src/health.controller.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/health.controller.ts diff --git a/src/health.controller.ts b/src/health.controller.ts new file mode 100644 index 0000000..6025b35 --- /dev/null +++ b/src/health.controller.ts @@ -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([]); + } +}