config相关配置。

This commit is contained in:
Renpc-kilig 2021-01-21 17:27:15 +08:00
parent dad3752bd1
commit 681e7ec39f

View File

@ -41,7 +41,7 @@ public class AuthClientSecurityConfig extends WebSecurityConfigurerAdapter {
.and()
.logout().logoutSuccessUrl(authServer.getOauthLogout())
.and()
.authorizeRequests().antMatchers("/app/**", "/route/file/**", "/assets/**").permitAll()
.authorizeRequests().antMatchers("/app/**", "/resource/**", "/route/file/**", "/assets/**").permitAll()
.and()
.authorizeRequests()
.anyRequest()