icydns/src/app.controller.ts

13 lines
274 B
TypeScript
Raw Permalink Normal View History

2022-11-06 11:52:54 +00:00
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();
}
}