From c9745d3abacdf515941a34ce8f7ef1f862656fd5 Mon Sep 17 00:00:00 2001 From: Hanjaemo <110653660+Hanjaemo@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:27:18 +0900 Subject: [PATCH] Update SecurityConfig.java --- src/main/java/balancetalk/global/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/balancetalk/global/config/SecurityConfig.java b/src/main/java/balancetalk/global/config/SecurityConfig.java index b61975ec8..ef982e311 100644 --- a/src/main/java/balancetalk/global/config/SecurityConfig.java +++ b/src/main/java/balancetalk/global/config/SecurityConfig.java @@ -92,7 +92,7 @@ CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.addAllowedOriginPattern("http://localhost:8080"); configuration.addAllowedOriginPattern("http://localhost:3000"); // 프론트 쪽에서 허용 - configuration.addAllowedOriginPattern("http://balancetalk.kro.kr"); + configuration.addAllowedOriginPattern("http://balancetalk.kro.kr"); // 도메인 주소 configuration.addExposedHeader("Authorization"); configuration.addExposedHeader("refreshToken"); configuration.setAllowedMethods(Arrays.asList("GET","POST","PUT","PATCH","DELETE"));