feat: use healthz

This commit is contained in:
Sammy Teillet 2023-04-14 17:03:18 +02:00
parent 0d82751b9b
commit dfcd22d66f
No known key found for this signature in database
GPG Key ID: 687E513E74D28696

View File

@ -1,7 +1,7 @@
import { Controller, Get } from '@nestjs/common';
import { HealthCheckService, HealthCheck } from '@nestjs/terminus';
@Controller('health')
@Controller('healthz')
export class HealthController {
constructor(private health: HealthCheckService) {}