This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
CaiXiang
/
SPC
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
feat: 给websocket的请求放行
ylc
weihongyang
2 years ago
parent
6d792317dd
commit
e277f2a32e
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ym-admin/src/main/java/com/cnbm/admin/config/SecurityConfig.java
+ 1
- 0
ym-admin/src/main/java/com/cnbm/admin/config/SecurityConfig.java
View File
@@ -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")
// 除上面外的所有请求全部需要鉴权认证
// 除上面外的所有请求全部需要鉴权认证
Write
Preview
Loading…
Cancel
Save