Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,7 @@ public class CorsConfig implements WebMvcConfigurer {
|
|||||||
registry.addMapping("/api/**")
|
registry.addMapping("/api/**")
|
||||||
.allowedOrigins(
|
.allowedOrigins(
|
||||||
"http://localhost:5173", // Vue 개발 서버
|
"http://localhost:5173", // Vue 개발 서버
|
||||||
|
"http://localhost:5174", // Vue 개발 서버 (포트 충돌 시 자동 증가)
|
||||||
"capacitor://localhost", // Capacitor (iOS scheme)
|
"capacitor://localhost", // Capacitor (iOS scheme)
|
||||||
"https://localhost", // Capacitor Android (기본 https scheme)
|
"https://localhost", // Capacitor Android (기본 https scheme)
|
||||||
"http://localhost", // Capacitor Android (http scheme)
|
"http://localhost", // Capacitor Android (http scheme)
|
||||||
|
|||||||
Reference in New Issue
Block a user