|
@@ -11,7 +11,7 @@ import com.uas.eis.core.support.InterceptorConfig;
|
|
|
public class WebAppConfig extends WebMvcConfigurationSupport{
|
|
|
|
|
|
public void addInterceptors(InterceptorRegistry registry){
|
|
|
- registry.addInterceptor(new InterceptorConfig()).addPathPatterns("/hello");
|
|
|
+ registry.addInterceptor(new InterceptorConfig()).addPathPatterns("/hello").excludePathPatterns("/login");
|
|
|
|
|
|
registry.addInterceptor(new DataSourceInterceptor()).addPathPatterns("/*/**");
|
|
|
}
|