mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 15:09:08 +00:00
14 lines
323 B
TypeScript
14 lines
323 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
import { HealthService } from './health.service';
|
|
|
|
@Controller('health')
|
|
export class HealthController {
|
|
constructor(private readonly healthService: HealthService) {}
|
|
|
|
@Get()
|
|
check() {
|
|
console.log(`/health`, 'check');
|
|
return this.healthService.check();
|
|
}
|
|
}
|