From 2ad6b422b4f192b4795357a927cd86d29d4395cd Mon Sep 17 00:00:00 2001 From: junho <2171168@hansung.ac.kr> Date: Sun, 7 Sep 2025 14:43:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=205173=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/DecodEat/global/config/CorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/DecodEat/global/config/CorsConfig.java b/src/main/java/com/DecodEat/global/config/CorsConfig.java index 05910b5..e425136 100644 --- a/src/main/java/com/DecodEat/global/config/CorsConfig.java +++ b/src/main/java/com/DecodEat/global/config/CorsConfig.java @@ -16,7 +16,7 @@ public CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.setAllowedOriginPatterns(List.of( "https://decodeat.netlify.app", - "http://localhost:8080" )); + "http://localhost:8080","http://localhost:5173" )); configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS")); configuration.setAllowedHeaders(List.of("*")); configuration.setAllowCredentials(true); // 쿠키/인증정보 포함 허용