fix(cors): localhost:5174 허용 추가 — Vite 포트 충돌 시 자동 증가 대응
Deploy / deploy (push) Failing after 11m11s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-03 00:45:14 +09:00
parent 9ed80f7085
commit 8ced77480e
@@ -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)