From 9701cfb5be5b5a4a4adad1a5ac1579c68aeb7af9 Mon Sep 17 00:00:00 2001 From: seohyun-lee Date: Tue, 23 Jul 2024 17:36:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SecurityConfig=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=ED=97=A4=EB=8D=94=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/sws/songpin/global/config/SecurityConfig.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/sws/songpin/global/config/SecurityConfig.java b/src/main/java/sws/songpin/global/config/SecurityConfig.java index 0a0f276d..30ddb1db 100644 --- a/src/main/java/sws/songpin/global/config/SecurityConfig.java +++ b/src/main/java/sws/songpin/global/config/SecurityConfig.java @@ -65,8 +65,6 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.addAllowedHeader("*"); configuration.setAllowCredentials(true); - configuration.addExposedHeader("Authorization"); - configuration.addExposedHeader("Authorization-Refresh"); configuration.addExposedHeader("Set-Cookie"); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();