|
@@ -20,7 +20,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
|
|
|
|
|
|
@Override
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
-// registry.addInterceptor(jwtInterceptor()).
|
|
|
-// excludePathPatterns("/my/*");
|
|
|
+ registry.addInterceptor(jwtInterceptor()).
|
|
|
+ excludePathPatterns("/my/*");
|
|
|
}
|
|
|
}
|