Skip to content

Commit

Permalink
fix: @EnableWebMvc가 없어서 배포 이미지가 동작하지 않는 문제 해결
Browse files Browse the repository at this point in the history
- todo: 로컬에서는 왜 없어도 동작하는지 확인 필요
  • Loading branch information
belljun3395 committed Jun 25, 2024
1 parent 823640a commit fd34523
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/kotlin/com/few/api/config/ApiConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import com.few.batch.config.BatchConfig
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Import
import org.springframework.web.servlet.config.annotation.EnableWebMvc

@Configuration
@ComponentScan(basePackages = [ApiConfig.BASE_PACKAGE])
@Import(ApiRepoConfig::class, BatchConfig::class)
@EnableWebMvc
class ApiConfig {
companion object {
const val BASE_PACKAGE = "com.few.api"
Expand Down

0 comments on commit fd34523

Please sign in to comment.