diff --git a/src/main/java/com/example/demo/DemoApplication.java b/src/main/java/com/example/demo/DemoApplication.java index 8a2ad5ef..49b99a78 100644 --- a/src/main/java/com/example/demo/DemoApplication.java +++ b/src/main/java/com/example/demo/DemoApplication.java @@ -10,7 +10,7 @@ @SpringBootApplication public class DemoApplication { - @RequestMapping("/") + @RequestMapping("/hello") String home() { return "Hello World!"; } @@ -19,4 +19,4 @@ public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } -} \ No newline at end of file +}