ezhizao_zx 3 hónapja
szülő
commit
a6215453a4

+ 1 - 1
src/main/java/cn/ezhizao/framework/config/SecurityConfig.java

@@ -107,7 +107,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
                 // 过滤请求
                 .authorizeRequests()
                 .antMatchers("/wsExport/**").anonymous()
-                .antMatchers("/ws/**", "/schedule/websocket/**").anonymous()
+                .antMatchers("/ws/**").anonymous()
                 // 对于登录login 注册register 验证码captchaImage 允许匿名访问
                 .antMatchers("/login", "/register", "/captchaImage", "/sms/sendSms", "/business/app/getUpdate", "/snms/**", "/mini/**", "/test/**").permitAll()
                 // 静态资源,可匿名访问