- Added NEXT_PUBLIC_RUN_MODE to .env files for environment differentiation. - Introduced .env.localhost for local development settings. - Updated .env.production with the correct API URL. - Modified package.json scripts to utilize env-cmd for environment-specific commands. - Created a common configuration module to manage environment-specific settings. - Refactored useAxios to utilize the new configuration for base URL management. - Enhanced Footer component to display current configuration values.
18 lines
502 B
Plaintext
18 lines
502 B
Plaintext
NEXT_PUBLIC_RUN_MODE=development
|
|
# 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경
|
|
# 다시 로컬에서 개발할때는 localhost로 변경
|
|
#route handler
|
|
NEXT_PUBLIC_API_URL=http://localhost:3000
|
|
|
|
#qsp 로그인 api
|
|
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
|
|
|
|
#1:1문의 api
|
|
NEXT_PUBLIC_INQUIRY_API_URL=http://1.248.227.176:38080
|
|
|
|
#QPARTNER 로그인 api
|
|
DB_HOST=202.218.61.226
|
|
DB_USER=readonly
|
|
DB_PASSWORD=aAjmFW12iHKW84l1
|
|
DB_DATABASE=qpartners
|
|
DB_PORT=3306 |