svr-imp/src/app.controller.ts

13 lines
274 B
TypeScript
Raw Normal View History

2017-11-23 21:42:49 +00:00
import { Get, Controller } from '@nestjs/common';
2018-03-26 19:19:56 +00:00
import { AppService } from './app.service';
2017-11-23 21:42:49 +00:00
@Controller()
export class AppController {
2018-03-26 19:19:56 +00:00
constructor(private readonly appService: AppService) {}
@Get()
getHello(): string {
return this.appService.getHello();
2017-11-23 21:42:49 +00:00
}
}