|
@@ -46,7 +46,7 @@ public class Config extends WebMvcConfigurerAdapter{
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
registry.addInterceptor(authInterceptor())
|
|
|
.addPathPatterns("/audio/search","/audio/searchList","/audio/info/{audioId}")
|
|
|
- .excludePathPatterns("/device/**", "/error");
|
|
|
+ .excludePathPatterns("/device/**", "/error","/audio/*");
|
|
|
|
|
|
registry.addInterceptor(adminInterceptor())
|
|
|
.addPathPatterns("/**", "/device/update", "/device/delete")
|