summaryrefslogtreecommitdiff
path: root/src/app.controller.ts
blob: cce879ee622146012901c9adb47ef40c0fd3a555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get()
  getHello(): string {
    return this.appService.getHello();
  }
}