diff --git a/.env.development b/.env.development index 2ef8329..c3f2519 100644 --- a/.env.development +++ b/.env.development @@ -10,7 +10,8 @@ SESSION_PASSWORD="This application is for mobile field research" # 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경 # 다시 로컬에서 개발할때는 localhost로 변경 #route handler -NEXT_PUBLIC_API_URL=http://172.16.56.60:3000 +# NEXT_PUBLIC_API_URL=http://172.16.56.60:3000 +NEXT_PUBLIC_API_URL=https://dev.hanasysfield.jp #qsp 로그인 api NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080 diff --git a/.env.production b/.env.production index f5f5164..efb8936 100644 --- a/.env.production +++ b/.env.production @@ -8,7 +8,8 @@ DATABASE_POOL_MAX=10 SESSION_PASSWORD="This application is for mobile field research" #route handler -NEXT_PUBLIC_API_URL=http://localhost:3000 +# NEXT_PUBLIC_API_URL=http://localhost:3000 +NEXT_PUBLIC_API_URL=https://hanasysfield.jp #qsp 로그인 api # NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 diff --git a/src/config/config.development.ts b/src/config/config.development.ts index 665bc9b..a6796e9 100644 --- a/src/config/config.development.ts +++ b/src/config/config.development.ts @@ -1,7 +1,8 @@ import getConfigs from '@/config/config.common' // 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 development 환경에 맞는 값을 지정합니다.) -const baseUrl = 'http://172.16.56.60:3000' +// const baseUrl = 'http://172.16.56.60:3000' +const baseUrl = 'https://dev.hanasysfield.jp' const mode = 'development' // 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다. diff --git a/src/config/config.production.ts b/src/config/config.production.ts index 5b1db52..2965b70 100644 --- a/src/config/config.production.ts +++ b/src/config/config.production.ts @@ -1,7 +1,7 @@ import getConfigs from '@/config/config.common' // 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 production 환경에 맞는 값을 지정합니다.) -const baseUrl = 'http://localhost.prod:3000' +const baseUrl = 'https://hanasysfield.jp' const mode = 'production' // 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다.