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

pull/1242/head
648540858 2023-12-15 17:45:47 +08:00
parent fc77b3f819
commit df3f5795e7
2 changed files with 0 additions and 1 deletions

View File

@ -75,7 +75,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
matchers.add("/js/**");
matchers.add("/api/device/query/snap/**");
matchers.add("/record_proxy/*/**");
matchers.addAll(userSetting.getInterfaceAuthenticationExcludes());
// 可以直接访问的静态数据
web.ignoring().antMatchers(matchers.toArray(new String[0]));
}