|
@@ -50,7 +50,8 @@ public class Config extends WebMvcConfigurerAdapter{
|
|
|
|
|
|
registry.addInterceptor(adminInterceptor())
|
|
|
.addPathPatterns("/**", "/device/update", "/device/delete")
|
|
|
- .excludePathPatterns("/device/**","/audio/info/{audioId}", "/error", "/admin/login", "/audio/search","/file/**","/audio/searchList","/statistics","/album","/album/{albumId}");
|
|
|
+ .excludePathPatterns("/device/**","/audio/info/{audioId}", "/error", "/admin/login", "/audio/search","/file/**","/audio/searchList","/statistics","/album","/album/{albumId}")
|
|
|
+ .excludePathPatterns("/getTypeList");
|
|
|
|
|
|
registry.addInterceptor(ignoreOptionsInterceptor())
|
|
|
.addPathPatterns("/**");
|