diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/api/home/HomeService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/api/home/HomeService.kt index 6fde4af..c934c91 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/api/home/HomeService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/api/home/HomeService.kt @@ -51,7 +51,7 @@ class HomeService( private val imageHost: String ) { companion object { - private const val RECOMMEND_TARGET_SIZE = 20 + private const val RECOMMEND_TARGET_SIZE = 30 private const val RECOMMEND_MAX_ATTEMPTS = 3 } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt index a27bdc8..adfb1ef 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt @@ -75,11 +75,11 @@ class ChatCharacterController( ).content // 추천 캐릭터 조회 - // 최근 대화한 캐릭터를 제외한 랜덤 20개 조회 + // 최근 대화한 캐릭터를 제외한 랜덤 30개 조회 // Controller에서는 호출만 // 세부로직은 추후에 변경될 수 있으므로 Service에 별도로 생성 val excludeIds = recentCharacters.map { it.characterId } - val recommendCharacters = service.getRecommendCharacters(excludeIds, 20) + val recommendCharacters = service.getRecommendCharacters(excludeIds, 30) // 큐레이션 섹션 (활성화된 큐레이션 + 캐릭터) val curationSections = curationQueryService.getActiveCurationsWithCharacters() diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/configs/SecurityConfig.kt b/src/main/kotlin/kr/co/vividnext/sodalive/configs/SecurityConfig.kt index 337f74e..d143d4d 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/configs/SecurityConfig.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/configs/SecurityConfig.kt @@ -83,6 +83,7 @@ class SecurityConfig( .antMatchers("/api/home").permitAll() .antMatchers("/api/home/latest-content").permitAll() .antMatchers("/api/home/day-of-week-series").permitAll() + .antMatchers("/api/home/content-ranking").permitAll() .antMatchers(HttpMethod.GET, "/api/live").permitAll() .antMatchers(HttpMethod.GET, "/faq").permitAll() .antMatchers(HttpMethod.GET, "/faq/category").permitAll()