chore(cors): 관리자 콘솔(dognation_AT) dev 오리진(localhost:9100) 허용
Deploy (dev) / deploy (push) Failing after 11m19s
CI / build (push) Failing after 13m23s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-11 17:05:19 +09:00
parent f6efb647ea
commit 4b6dc8618a
@@ -27,7 +27,8 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) { public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/api/**") registry.addMapping("/api/**")
.allowedOrigins( .allowedOrigins(
"http://localhost:9000", // Vite dev server "http://localhost:9000", // 사용자 앱(dognation_PT) Vite dev
"http://localhost:9100", // 관리자 콘솔(dognation_AT) Vite dev
"http://localhost", // Capacitor(Android) "http://localhost", // Capacitor(Android)
"capacitor://localhost", // Capacitor(iOS) "capacitor://localhost", // Capacitor(iOS)
"ionic://localhost" "ionic://localhost"