fix(cors): localhost:5174 허용 추가 — Vite 포트 충돌 시 자동 증가 대응
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
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)
|
||||
|
||||
Reference in New Issue
Block a user