feat: 给websocket的请求放行
This commit is contained in:
parent
6d792317dd
commit
e277f2a32e
@ -71,6 +71,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
"/swagger-resources/**",
|
"/swagger-resources/**",
|
||||||
"/swagger-ui/**",
|
"/swagger-ui/**",
|
||||||
"/webjars/**",
|
"/webjars/**",
|
||||||
|
"/websocket/**",
|
||||||
"/captcha").anonymous()
|
"/captcha").anonymous()
|
||||||
// .antMatchers("/testCors").hasAuthority("system:dept:list222")
|
// .antMatchers("/testCors").hasAuthority("system:dept:list222")
|
||||||
// 除上面外的所有请求全部需要鉴权认证
|
// 除上面外的所有请求全部需要鉴权认证
|
||||||
|
Loading…
Reference in New Issue
Block a user