From 8ced77480eb150094f6f556ed7ad80cadf78b603 Mon Sep 17 00:00:00 2001 From: ByungCheol Date: Fri, 3 Jul 2026 00:45:14 +0900 Subject: [PATCH] =?UTF-8?q?fix(cors):=20localhost:5174=20=ED=97=88?= =?UTF-8?q?=EC=9A=A9=20=EC=B6=94=EA=B0=80=20=E2=80=94=20Vite=20=ED=8F=AC?= =?UTF-8?q?=ED=8A=B8=20=EC=B6=A9=EB=8F=8C=20=EC=8B=9C=20=EC=9E=90=EB=8F=99?= =?UTF-8?q?=20=EC=A6=9D=EA=B0=80=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/main/java/com/sb/web/common/config/CorsConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sb/web/common/config/CorsConfig.java b/src/main/java/com/sb/web/common/config/CorsConfig.java index 4f69448..266143a 100644 --- a/src/main/java/com/sb/web/common/config/CorsConfig.java +++ b/src/main/java/com/sb/web/common/config/CorsConfig.java @@ -19,6 +19,7 @@ public class CorsConfig implements WebMvcConfigurer { registry.addMapping("/api/**") .allowedOrigins( "http://localhost:5173", // Vue 개발 서버 + "http://localhost:5174", // Vue 개발 서버 (포트 충돌 시 자동 증가) "capacitor://localhost", // Capacitor (iOS scheme) "https://localhost", // Capacitor Android (기본 https scheme) "http://localhost", // Capacitor Android (http scheme)