From 6e170646a75c1f49770da62852f422aef860af14 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 18 May 2026 01:15:22 +0900 Subject: [PATCH] env: commit .env.build with production SITE_BASE_URL Track `.env.build` in version control so the production site domain (`https://mc.tkrmagid.kr`) is baked into every portable exe build by default. `.env` (server/dev secrets) stays gitignored. Co-Authored-By: Claude Opus 4.7 --- .env.build | 4 ++++ .gitignore | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .env.build diff --git a/.env.build b/.env.build new file mode 100644 index 0000000..606d1ff --- /dev/null +++ b/.env.build @@ -0,0 +1,4 @@ +# 빌드용 환경변수 — `npm run dist:win` / `npm run dist:win:rp` 로 패키징될 때 +# 설치기 exe 의 `resources/.env.build` 로 함께 배포되어 런타임에 로드됨. +# 서버 운영용(PORT/HOST/SESSION_SECRET) 값은 여기 두지 말고 `.env` 에. +SITE_BASE_URL=https://mc.tkrmagid.kr diff --git a/.gitignore b/.gitignore index d3aa97b..c5cb917 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,3 @@ conversations/ .env .env.local .env.*.local -.env.build