From 04f3de38908d65d6b2fa49c8b313a8d8ebb56108 Mon Sep 17 00:00:00 2001 From: htlee Date: Mon, 16 Feb 2026 09:07:17 +0900 Subject: [PATCH] =?UTF-8?q?fix(cors):=20application.yml=20CORS=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=EA=B0=92=EC=97=90=20wing.gc-si.dev=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @Value 기본값보다 application.yml이 우선 적용되므로 application.yml에도 wing.gc-si.dev, localhost:5175 등 추가. Co-Authored-By: Claude Opus 4.6 --- src/main/resources/application.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 3d589d5..f3f1b37 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -27,9 +27,15 @@ app: expiration-ms: ${JWT_EXPIRATION:86400000} # 24시간 google: client-id: ${GOOGLE_CLIENT_ID:} - allowed-email-domain: gcsc.co.kr + # Optional: allow multiple audiences (comma-separated) for shared auth across multiple frontends. + client-ids: ${GOOGLE_CLIENT_IDS:${GOOGLE_CLIENT_ID:}} + allowed-email-domain: ${ALLOWED_EMAIL_DOMAIN:gcsc.co.kr} + wing: + ais: + upstream-base: ${WING_AIS_UPSTREAM_BASE:http://211.208.115.83:8041} + timeout-ms: ${WING_AIS_TIMEOUT_MS:20000} cors: - allowed-origins: ${CORS_ORIGINS:http://localhost:5173,https://guide.gc-si.dev} + allowed-origins: ${CORS_ORIGINS:http://localhost:5173,http://localhost:5175,http://127.0.0.1:5175,https://guide.gc-si.dev,https://wing.gc-si.dev} # SpringDoc / Swagger springdoc: -- 2.45.2