【fix sonar】OnlineConfiguration文件
This commit is contained in:
+1
@@ -13,6 +13,7 @@ public class OnlineConfiguration implements WebMvcConfigurer {
|
|||||||
return new OnlineInterceptor();
|
return new OnlineInterceptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void addInterceptors(InterceptorRegistry registry) {
|
public void addInterceptors(InterceptorRegistry registry) {
|
||||||
registry.addInterceptor(onlineInterceptor())
|
registry.addInterceptor(onlineInterceptor())
|
||||||
.excludePathPatterns(new String[]{"/*.html", "/html/**", "/js/**", "/css/**", "/images/**"})
|
.excludePathPatterns(new String[]{"/*.html", "/html/**", "/js/**", "/css/**", "/images/**"})
|
||||||
|
|||||||
Reference in New Issue
Block a user