Skip to content

Commit

Permalink
feat(server): add test /test endpoint (#380)
Browse files Browse the repository at this point in the history
* feat(server): add test /test endpoint

* fix lint
  • Loading branch information
chloezxyy authored Nov 27, 2023
1 parent 9c04261 commit d117b6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/server/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { Controller } from '@nestjs/common';
import { Controller, Get } from '@nestjs/common';

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

@Controller('test')
export class AppController {
constructor(private readonly appService: AppService) {}

@Get()
async sayHello() {
return 'Hello World!';
}
}

0 comments on commit d117b6d

Please sign in to comment.