From 681e7ec39fb1771a504d66d4e4c6f5f6fedd9724 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 21 Jan 2021 17:27:15 +0800 Subject: [PATCH] =?UTF-8?q?config=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cm/population/config/AuthClientSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cm/population/config/AuthClientSecurityConfig.java b/src/main/java/com/cm/population/config/AuthClientSecurityConfig.java index ee1bb70..10b8db0 100644 --- a/src/main/java/com/cm/population/config/AuthClientSecurityConfig.java +++ b/src/main/java/com/cm/population/config/AuthClientSecurityConfig.java @@ -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()