svr-imp/src/app.controller.ts

13 lines
266 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()
root(): string {
2018-03-26 19:19:56 +00:00
return this.appService.root();
2017-11-23 21:42:49 +00:00
}
}