Commit df3f5795e7eaefd135082ec8f7edf0818ba53c37

Authored by 648540858
1 parent fc77b3f8

修复非鉴权接口的跨域失败问题

src/main/java/com/genersoft/iot/vmp/conf/security/WebSecurityConfig.java
... ... @@ -75,7 +75,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
75 75 matchers.add("/js/**");
76 76 matchers.add("/api/device/query/snap/**");
77 77 matchers.add("/record_proxy/*/**");
78   - matchers.addAll(userSetting.getInterfaceAuthenticationExcludes());
79 78 // 可以直接访问的静态数据
80 79 web.ignoring().antMatchers(matchers.toArray(new String[0]));
81 80 }
... ...
src/main/resources/logback-spring-local.xml renamed to src/main/resources/logback-spring.xml