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

This commit is contained in:
Dayoung 2025-06-30 17:45:20 +09:00
commit 88a550764c
6 changed files with 16 additions and 4 deletions

View File

@ -14,11 +14,9 @@ SESSION_PASSWORD="This application is for mobile field research"
NEXT_PUBLIC_API_URL=https://dev.hanasysfield.jp
#qsp 로그인 api
# NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
# NEXT_PUBLIC_QSP_API_URL=http://localhost:8110
# NEXT_PUBLIC_QSP_API_URL=http://dev.hanasysfield.jp
# 도메인 설정 전 테스트용 임시 변수 (qsp ip)
NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
#1:1문의 api
@ -34,6 +32,7 @@ DB_PASSWORD=aAjmFW12iHKW84l1
DB_DATABASE=qpartners
DB_PORT=3306
#qsp mail server
SMTP_HOST=autodiscover.qcells.com
SMTP_PORT=25
SMTP_SECURE=false

View File

@ -27,6 +27,7 @@ DB_PASSWORD=aAjmFW12iHKW84l1
DB_DATABASE=qpartners
DB_PORT=3306
#qsp mail server
SMTP_HOST=autodiscover.qcells.com
SMTP_PORT=25
SMTP_SECURE=false

View File

@ -25,6 +25,7 @@ DB_PASSWORD=aAjmFW12iHKW84l1
DB_DATABASE=qpartners
DB_PORT=3306
#qsp mail server
SMTP_HOST=autodiscover.qcells.com
SMTP_PORT=25
SMTP_SECURE=true

View File

@ -3,8 +3,13 @@ module.exports = {
{
name: 'on-site-survey',
script: 'node_modules/next/dist/bin/next',
args: 'start',
instances: 2,
exec_mode: 'cluster',
env_file: '.env.production',
env: {
NODE_ENV: 'production',
},
},
],
}

View File

@ -12,6 +12,7 @@ const nextConfig: NextConfig = {
fullUrl: true,
},
},
allowedDevOrigins: ['hanasysfield.jp', '*.hanasysfield.jp'],
async rewrites() {
return [
{

View File

@ -1,10 +1,15 @@
'use client'
export default function Footer() {
const runMode = process.env.NEXT_PUBLIC_RUN_MODE || 'error'
return (
<>
<footer>
<div className="footer-inner">COPYRIGHT©2025 Hanwha Japan All Rights Reserved </div>
<div className="footer-inner">
COPYRIGHT©2025 Hanwha Japan All Rights Reserved
<span style={{ marginLeft: '10px', fontSize: '12px', color: '#888' }}>[{runMode.toUpperCase()}]</span>
</div>
</footer>
</>
)