diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-10-29 18:57:24 -0600 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-10-29 18:57:24 -0600 |
commit | 1997a981105c9910d2d0a150adb39a6bfe706e01 (patch) | |
tree | 8a92d9d944a9597f509cb3512c72a3285e073d35 /src/app.controller.ts | |
download | locchat-1997a981105c9910d2d0a150adb39a6bfe706e01.tar.gz locchat-1997a981105c9910d2d0a150adb39a6bfe706e01.zip |
first commit
Diffstat (limited to 'src/app.controller.ts')
-rw-r--r-- | src/app.controller.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app.controller.ts b/src/app.controller.ts new file mode 100644 index 0000000..cce879e --- /dev/null +++ b/src/app.controller.ts @@ -0,0 +1,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(); + } +} |