c274e50ee0
- SessionMiddleware max_age 를 SESSION_MAX_AGE 환경변수에서 읽도록 변경 (기본 28800초=8h, OMS .env.example 과 일치) - .env.example 에 SESSION_MAX_AGE 항목 추가 - run-local.ps1 을 .gitignore 에 추가 (run-local.bat 와 동일 정책 — 로컬 전용)
13 lines
634 B
Bash
13 lines
634 B
Bash
GOOGLE_CLIENT_ID=your-google-oauth-client-id.apps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=your-google-oauth-client-secret
|
|
# OMS(orderlist) 와 SSO 하려면 양쪽 .env 에 동일한 값으로 설정
|
|
SESSION_SECRET_KEY=replace-with-a-long-random-secret
|
|
SESSION_COOKIE_NAME=session
|
|
SESSION_COOKIE_SECURE=true
|
|
# 세션 유효기간(초). OMS(orderlist) 와 동일하게 맞출 것. 28800=8h
|
|
SESSION_MAX_AGE=28800
|
|
PUBLIC_BASE_URL=https://dbx.no1king.freeddns.org
|
|
CS_ORDER_URL=https://cs.example.com
|
|
# 비워두면 같은 도메인의 /orderlist/ 경로(NPM 리버스 프록시)로 자동 연결됨
|
|
CUSTOMER_ORDER_LIST_URL=/orderlist/
|