luhg 7 лет назад
Родитель
Сommit
e87733a15f
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/main/java/com/uas/eis/core/WebAppConfig.java

+ 3 - 1
src/main/java/com/uas/eis/core/WebAppConfig.java

@@ -27,7 +27,9 @@ public class WebAppConfig extends WebMvcConfigurationSupport{
 	}
 	
 	public void addInterceptors(InterceptorRegistry registry){
-		registry.addInterceptor(loginInterceptor()).addPathPatterns("/**").excludePathPatterns("/EIS/login");
+		registry.addInterceptor(loginInterceptor()).addPathPatterns("/**")
+				.excludePathPatterns("/EIS/login")
+				.excludePathPatterns("/test/*");
 		registry.addInterceptor(new DataSourceInterceptor()).addPathPatterns("/*/**");
 	}