1
This commit is contained in:
@@ -114,6 +114,8 @@ public class SecurityConfig
|
||||
requests.antMatchers("/login", "/register", "/captchaImage").permitAll()
|
||||
// 公开接口,允许匿名访问
|
||||
.antMatchers("/public/**").permitAll()
|
||||
// 腾讯文档OAuth回调接口,允许匿名访问
|
||||
.antMatchers("/jarvis/tendoc/oauth/callback").permitAll()
|
||||
// 静态资源,可匿名访问
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|
||||
|
||||
Reference in New Issue
Block a user