Files
genome2025/backend/src/app.controller.ts
2025-12-09 17:02:27 +09:00

15 lines
411 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { Public } from './common/decorators/public.decorator';
@Controller() // 루트 경로 '/'
export class AppController {
constructor(private readonly appService: AppService) {}
@Public() // healthcheck를 위해 인증 제외
@Get()
getHello(): string {
return this.appService.getHello();
}
}