From 27fda61233c3285542609a41ff2eb053f869ddb4 Mon Sep 17 00:00:00 2001 From: WaGaNaWa Date: Sat, 30 Sep 2023 01:15:50 +0900 Subject: [PATCH] add main page html and some static files + fix : add license + quick fix --- .../com/service/ttucktak/controller/WebController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/service/ttucktak/controller/WebController.java b/src/main/java/com/service/ttucktak/controller/WebController.java index c2d15ce..02bd541 100644 --- a/src/main/java/com/service/ttucktak/controller/WebController.java +++ b/src/main/java/com/service/ttucktak/controller/WebController.java @@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; @Controller @RequestMapping("/") @@ -17,16 +18,16 @@ public class WebController { * */ @GetMapping() public String mainPage(){ - return "/index.html"; + return "/index"; } @GetMapping("/index") public String indexPage(){ - return "/index.html"; + return "/index"; } @GetMapping("/contact") public String contactPage(){ - return "/contact.html"; + return "/contact"; } }