Skip to content

Commit 9a77887

Browse files
committed
fix: conflict 해결
1 parent 0ca2f74 commit 9a77887

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/java/com/example/solidconnection/common/config/web/WebMvcConfig.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers)
3535
));
3636
}
3737

38-
@Override
39-
public void addInterceptors(InterceptorRegistry registry) {
40-
registry.addInterceptor(bannedUserInterceptor)
41-
.addPathPatterns("/posts/**", "/comments/**", "/chats/**", "/boards/**");
42-
}
43-
4438
@Override
4539
public void addInterceptors(InterceptorRegistry registry){
4640
registry.addInterceptor(apiPerformanceInterceptor)
@@ -50,6 +44,9 @@ public void addInterceptors(InterceptorRegistry registry){
5044
registry.addInterceptor(requestContextInterceptor)
5145
.addPathPatterns("/**")
5246
.excludePathPatterns("/actuator/**");
47+
48+
registry.addInterceptor(bannedUserInterceptor)
49+
.addPathPatterns("/posts/**", "/comments/**", "/chats/**", "/boards/**");
5350
}
5451

5552
@Bean

0 commit comments

Comments
 (0)