Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey

This commit is contained in:
Dayoung 2025-06-13 13:17:46 +09:00
commit 77895c220d
6 changed files with 25 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

@ -19,6 +19,22 @@ const nextConfig: NextConfig = {
// },
]
},
webpack: (config, { dev, isServer }) => {
if (!dev && !isServer) {
config.optimization.minimizer = config.optimization.minimizer || []
config.optimization.minimizer.push(
new (require('terser-webpack-plugin'))({
terserOptions: {
format: {
comments: false,
},
},
extractComments: false,
}),
)
}
return config
},
}
export default nextConfig

View File

@ -45,6 +45,7 @@
"@types/react-dom": "^19",
"prisma": "^6.7.0",
"tailwindcss": "^4",
"terser-webpack-plugin": "^5.3.14",
"typescript": "^5"
}
}

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