commit
This commit is contained in:
@@ -25,7 +25,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|||||||
public void addInterceptors(InterceptorRegistry registry) {
|
public void addInterceptors(InterceptorRegistry registry) {
|
||||||
InterceptorRegistration addInterceptor = registry.addInterceptor(getSecurityInterceptor());
|
InterceptorRegistration addInterceptor = registry.addInterceptor(getSecurityInterceptor());
|
||||||
|
|
||||||
addInterceptor.excludePathPatterns("/api/login");
|
addInterceptor.excludePathPatterns("/api/loginIdm");
|
||||||
addInterceptor.excludePathPatterns("/v2/api-docs");
|
addInterceptor.excludePathPatterns("/v2/api-docs");
|
||||||
addInterceptor.excludePathPatterns("/webjars/**");
|
addInterceptor.excludePathPatterns("/webjars/**");
|
||||||
addInterceptor.excludePathPatterns("/swagger-resources/**");
|
addInterceptor.excludePathPatterns("/swagger-resources/**");
|
||||||
|
|||||||
Reference in New Issue
Block a user