Commit 0a245c4cfe9298dc1235d8a1f9fa3b68095b210b
1 parent
3a1fc63d
修复非鉴权接口的跨域失败问题
Showing
1 changed file
with
0 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/conf/security/WebSecurityConfig.java
| ... | ... | @@ -77,7 +77,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { |
| 77 | 77 | matchers.add("/api/device/query/snap/**"); |
| 78 | 78 | matchers.add("/record_proxy/*/**"); |
| 79 | 79 | matchers.add("/api/emit"); |
| 80 | - matchers.addAll(userSetting.getInterfaceAuthenticationExcludes()); | |
| 81 | 80 | // 可以直接访问的静态数据 |
| 82 | 81 | web.ignoring().antMatchers(matchers.toArray(new String[0])); |
| 83 | 82 | } | ... | ... |