|
@@ -124,7 +124,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
.antMatchers("/login", "/register", "/captchaImage","/sendSmsCode/*","/smsLogin","/test/**", "/demo/**").permitAll()
|
|
|
.antMatchers("/websocket/**").permitAll()//websocket的
|
|
|
// .antMatchers("/front/**","/grpc/**").permitAll()//临时测试的
|
|
|
- .antMatchers("/qiniuyun/**", "/out/**", "/business/daily").permitAll()//文件上传相关 外部接口等
|
|
|
+ .antMatchers("/qiniuyun/**", "/out/**", "/business/daily", "/front/bigModel/warning/pageList").permitAll()//文件上传相关 外部接口等
|
|
|
// 静态资源,可匿名访问
|
|
|
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
|
|
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|