Files
twenty/server/src/app.controller.ts
2022-12-01 15:58:08 +01:00

13 lines
279 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get('/health')
health(): string {
return this.appService.health();
}
}