diff --git a/src/main/java/io/github/petty/llm/controller/RecommendController.java b/src/main/java/io/github/petty/llm/controller/RecommendController.java deleted file mode 100644 index a8d080e..0000000 --- a/src/main/java/io/github/petty/llm/controller/RecommendController.java +++ /dev/null @@ -1,29 +0,0 @@ -package io.github.petty.llm.controller; - -import io.github.petty.llm.dto.RecommendResponseDTO; -import io.github.petty.llm.service.RecommendService; -import io.github.petty.tour.service.TourService; -import lombok.RequiredArgsConstructor; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.ResponseBody; - -import java.util.Map; - -@Controller -@RequiredArgsConstructor -public class RecommendController { - private final RecommendService recommendService; - private final TourService tourService; - - // 기존 API 엔드포인트 (JSON 응답) - @PostMapping("/api/recommend") - @ResponseBody - public ResponseEntity recommend(@RequestBody Map promptMap) { - RecommendResponseDTO result = recommendService.recommend(promptMap); - return ResponseEntity.ok(result); - } - -} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 52d58c6..0cdb487 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -10,10 +10,10 @@ spring: logging: level: - io.github.petty: DEBUG - org.springframework.web: INFO - software.amazon.awssdk: INFO - com.google.cloud: INFO + io.github.petty: ERROR + org.springframework.web: ERROR + software.amazon.awssdk: ERROR + com.google.cloud: ERROR server: forward-headers-strategy: FRAMEWORK \ No newline at end of file diff --git a/src/main/resources/static/assets/noimg.png b/src/main/resources/static/assets/noimg.png index c6a1432..4414f63 100644 Binary files a/src/main/resources/static/assets/noimg.png and b/src/main/resources/static/assets/noimg.png differ diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index cccbd16..129a985 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -2,7 +2,7 @@ - 로그인 + PETTY - 로그인