Skip to content

Commit

Permalink
refactor: 코드 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
gitchannn committed Feb 22, 2024
1 parent b77995a commit 0578091
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package sunflower.server.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

@RestController
public class HealthCheckApiController {

@RequestMapping(method = GET, path = "/health")
@GetMapping("/health")
public ResponseEntity<Void> healthCheck() {
return ResponseEntity.ok().build();
}
Expand Down

0 comments on commit 0578091

Please sign in to comment.