Skip to content

Commit

Permalink
feat: @EnableWebMvc 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zzawang committed May 30, 2024
1 parent c3c4625 commit 8e756a8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
@RequiredArgsConstructor
@EnableWebMvc
@Profile("default") // 테스트시 인터셉터 적용 문제로 프로필 적용
public class WebConfig implements WebMvcConfigurer {

Expand Down

0 comments on commit 8e756a8

Please sign in to comment.