This commit is contained in:
SeoJHeasdw
2025-06-16 16:33:37 +09:00
parent de983127a3
commit 0ff2f15b65
8 changed files with 1280 additions and 485 deletions
+9 -4
View File
@@ -1,16 +1,19 @@
//* public/runtime-env.js - 디버깅 포함 버전
//* public/runtime-env.js - 수정버전
console.log('=== RUNTIME-ENV.JS 로드됨 ===');
window.__runtime_config__ = {
// 로컬 개발 환경 설정
// 기존 설정들...
AUTH_URL: 'http://localhost:8081/api/auth',
MEMBER_URL: 'http://localhost:8081/api/member',
STORE_URL: 'http://localhost:8082/api/store',
SALES_URL: 'http://localhost:8082/api/sales', // ← 이 줄 추가
CONTENT_URL: 'http://localhost:8083/api/content',
RECOMMEND_URL: 'http://localhost:8084/api/recommendation',
// Gateway 주석 처리 (로컬에서는 사용 안함)
// 프로덕션 환경 (주석 처리)
// GATEWAY_URL: 'http://20.1.2.3',
// STORE_URL: 'http://20.1.2.3/api/store',
// SALES_URL: 'http://20.1.2.3/api/sales',
// 기능 플래그
FEATURES: {
@@ -31,5 +34,7 @@ window.__runtime_config__ = {
console.log('=== 설정된 API URLs ===');
console.log('AUTH_URL:', window.__runtime_config__.AUTH_URL);
console.log('MEMBER_URL:', window.__runtime_config__.MEMBER_URL);
console.log('STORE_URL:', window.__runtime_config__.STORE_URL);
console.log('SALES_URL:', window.__runtime_config__.SALES_URL);
console.log('RECOMMEND_URL:', window.__runtime_config__.RECOMMEND_URL);
console.log('전체 설정:', window.__runtime_config__);