|
|
@ -21,7 +21,6 @@ public class CustomSecurityConfig implements WebMvcConfigurer {
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
registry.addInterceptor(this.jwtInterceptor)
|
|
|
|
registry.addInterceptor(this.jwtInterceptor)
|
|
|
|
.excludePathPatterns("/login")
|
|
|
|
.excludePathPatterns("/login")
|
|
|
|
.excludePathPatterns("/userList")
|
|
|
|
|
|
|
|
.excludePathPatterns("/swagger-ui.html")
|
|
|
|
.excludePathPatterns("/swagger-ui.html")
|
|
|
|
.excludePathPatterns("/doc.html")
|
|
|
|
.excludePathPatterns("/doc.html")
|
|
|
|
.excludePathPatterns("/swagger-resources/**")
|
|
|
|
.excludePathPatterns("/swagger-resources/**")
|
|
|
|