Compare commits

...

4 Commits

Author SHA1 Message Date
298b563977 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/log 2025-06-13 13:02:22 +09:00
36a06c226b Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/log 2025-06-13 13:01:28 +09:00
nalpari
96b5e39a58 chore: update baseUrl for production environment
- Commented out the previous production baseUrl and set a new baseUrl to point to the local server IP address for production configuration.
- Ensured consistency in environment-specific configurations.
2025-06-13 12:25:46 +09:00
nalpari
1af57d0965 chore: update API URLs for development and production environments
- Changed NEXT_PUBLIC_API_URL in .env.development and .env.production to point to the new development and production server URLs, respectively.
- Updated baseUrl in config.development.ts and config.production.ts to reflect the new server addresses for consistent environment configuration.
2025-06-12 18:09:08 +09:00
4 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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 함수에 전달합니다.

View File

@ -1,7 +1,8 @@
import getConfigs from '@/config/config.common'
// 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 production 환경에 맞는 값을 지정합니다.)
const baseUrl = 'http://localhost.prod:3000'
// const baseUrl = 'https://hanasysfield.jp'
const baseUrl = 'http://172.16.56.55:3000'
const mode = 'production'
// 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다.