Skip to content

Commit

Permalink
Merge pull request #213 from side-peek/feat/#212-health-check
Browse files Browse the repository at this point in the history
feat: health check 확인용 api 엔드 포인트 추가
  • Loading branch information
uijin-j authored Mar 20, 2024
2 parents 654e7fd + 7889cb1 commit 6ce6d1c
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package sixgaezzang.sidepeek.common.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import sixgaezzang.sidepeek.auth.dto.response.LoginResponse;

@RestController
@RequestMapping("/health")
public class HealthCheckController {

@GetMapping
public ResponseEntity<LoginResponse> healthCheck() {
return ResponseEntity.ok()
.build();
}
}

0 comments on commit 6ce6d1c

Please sign in to comment.