Skip to content

Commit

Permalink
[refactor] : HealthCheck 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed May 8, 2024
1 parent 3c87475 commit f7730a5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/seoul/gonggong/HealthCheckApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@
@RestController
@RequiredArgsConstructor
public class HealthCheckApi {
@GetMapping("/")
@GetMapping("/health-check")
public ResponseEntity<HttpStatus> hello() {
return ResponseEntity.ok(HttpStatus.OK);
}

@GetMapping("/health-check")
public String check() {
return "hello";
}

}

0 comments on commit f7730a5

Please sign in to comment.