Skip to content

Commit

Permalink
Merge pull request #5 from Team-Shaka/ci/1
Browse files Browse the repository at this point in the history
2023 12 08 merge
  • Loading branch information
CYY1007 authored Dec 8, 2023
2 parents 08e9d04 + 43dd1ee commit 10abefa
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 10abefa

Please sign in to comment.