From 883b5e1faefff960166b131e8ae24326e099c5ff Mon Sep 17 00:00:00 2001 From: kimdozzi Date: Mon, 27 May 2024 21:45:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B5=9C=EC=A2=85=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genius/gitget/global/security/config/SecurityConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/genius/gitget/global/security/config/SecurityConfig.java b/src/main/java/com/genius/gitget/global/security/config/SecurityConfig.java index b189ab5c..b61daa1f 100644 --- a/src/main/java/com/genius/gitget/global/security/config/SecurityConfig.java +++ b/src/main/java/com/genius/gitget/global/security/config/SecurityConfig.java @@ -27,7 +27,8 @@ @RequiredArgsConstructor @EnableWebSecurity public class SecurityConfig { - public static final String PERMITTED_URI[] = {"/v3/**", "/swagger-ui/**", "/api/auth/**", "/login", "/favicon.ico"}; + public static final String PERMITTED_URI[] = {"/v3/**", "/swagger-ui/**", "/api/auth/health-check", "/login", + "/favicon.ico"}; private static final String PERMITTED_ROLES[] = {"USER", "ADMIN"}; private final CustomCorsConfigurationSource customCorsConfigurationSource; private final CustomOAuth2UserService customOAuthService;