Skip to content

Commit

Permalink
2023 12 08 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 committed Dec 8, 2023
1 parent 6843bd5 commit 43dd1ee
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
package eureka.api_gateway.web.controller;

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

@RestController
@RequestMapping("/")
public class HealthController {

@GetMapping("/health")
public String health(){
return "I'm healthy!";
}

@GetMapping("/")
public String welcome(){
return "this is api gateway!";
}
}

0 comments on commit 43dd1ee

Please sign in to comment.