Skip to content

Commit

Permalink
#42 [Update] Health Check
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 27, 2022
1 parent 57a44c1 commit 05a3842
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main/java/com/mpnp/baechelin/util/Nginx.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ public class Nginx {
private final Environment environment;

@GetMapping("/health")
public String main() {
return "Health Check";
public String healthCheck() {
return "Health Check V3";
}

@GetMapping
public String main(){
return "Hello World!";
}
}

0 comments on commit 05a3842

Please sign in to comment.