Merge branch 'dev' into main
Deploy / deploy (push) Failing after 13m16s
CI / build (push) Failing after 14m57s

This commit is contained in:
ByungCheol
2026-05-31 20:49:52 +09:00
2 changed files with 8 additions and 4 deletions
@@ -21,7 +21,9 @@ public class CorsConfig implements WebMvcConfigurer {
"http://localhost:5173", // Vue 개발 서버 "http://localhost:5173", // 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)
"https://app.sblog.kr", // 운영 웹 (안전망)
"http://app.sblog.kr"
) )
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS") .allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")
.allowedHeaders("*") .allowedHeaders("*")
+2
View File
@@ -2,6 +2,8 @@ server:
port: 8080 port: 8080
servlet: servlet:
context-path: / context-path: /
# Nginx(HTTPS) 리버스 프록시 뒤 — X-Forwarded-* 를 신뢰해 원래 스킴/호스트 인식 (CORS·리다이렉트 정확)
forward-headers-strategy: framework
spring: spring:
# 로컬 개발 시 .env(properties 형식, git 미추적)에서 환경변수 로드. 없으면 OS/컨테이너 환경변수 사용. # 로컬 개발 시 .env(properties 형식, git 미추적)에서 환경변수 로드. 없으면 OS/컨테이너 환경변수 사용.