Skip to content

Commit

Permalink
feat(server): add test /test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chloezxyy committed Nov 27, 2023
1 parent 9c04261 commit 3410ad9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/server/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
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) {}
constructor(private readonly appService: AppService) {
}

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

0 comments on commit 3410ad9

Please sign in to comment.