-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] BE-config 업데이트 및 health api 수정
- Loading branch information
1 parent
3fe1337
commit edbb791
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
Submodule BE-config
updated
from c8d157 to e47b6d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import { Controller } from '@nestjs/common'; | ||
import { Controller, Get } from '@nestjs/common'; | ||
import { ApiOperation, ApiTags } from '@nestjs/swagger'; | ||
|
||
@Controller('health') | ||
@ApiTags('health') | ||
export class HealthController { | ||
@Get('/') | ||
@ApiOperation({ | ||
summary: '헬스 체크', | ||
description: '서버의 상태를 체크합니다.', | ||
}) | ||
async healthCheck() { | ||
healthCheck() { | ||
return 'ok'; | ||
} | ||
} |