Skip to content

Commit d117b6d

Browse files
authored
feat(server): add test /test endpoint (#380)
* feat(server): add test /test endpoint * fix lint
1 parent 9c04261 commit d117b6d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/server/src/app.controller.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
import { Controller } from '@nestjs/common';
1+
import { Controller, Get } from '@nestjs/common';
22

33
import { AppService } from './app.service';
44

55
@Controller('test')
66
export class AppController {
77
constructor(private readonly appService: AppService) {}
8+
9+
@Get()
10+
async sayHello() {
11+
return 'Hello World!';
12+
}
813
}

0 commit comments

Comments
 (0)