Skip to content

Commit

Permalink
feat: add api of checking server health
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Jun 2, 2024
1 parent 9ef14ed commit c7e6aaf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/gymmi/controller/HealthCheckController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package gymmi.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HealthCheckController {

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

0 comments on commit c7e6aaf

Please sign in to comment.