release
This commit is contained in:
@@ -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__);
|
||||
Reference in New Issue
Block a user