From 318cc415edd2861f194643b4a1f86f08d135b329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Mon, 9 Feb 2026 16:11:07 +0900 Subject: [PATCH] =?UTF-8?q?chore(WEB):=20.env=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=9D=B4=EB=A0=A5=EA=B4=80=EB=A6=AC=20=EC=A0=9C=EA=B1=B0=20?= =?UTF-8?q?=EB=B0=8F=20.gitignore=20=EA=B0=95=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .gitignore에 .env* 포괄 패턴 추가 - 추적 중이던 .env.example, .env.production 등 모든 env 파일 git rm --cached --- .gitignore | 7 ++++--- env.local | 33 --------------------------------- 2 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 env.local diff --git a/.gitignore b/.gitignore index a5045aad..7bd3822f 100644 --- a/.gitignore +++ b/.gitignore @@ -95,9 +95,10 @@ build/ .idea/ *.iml -# ---> Claude -.env.local -.env*.local +# ---> Environment +.env +.env.* +.env* # ---> Unused components and contexts (archived) src/components/_unused/ diff --git a/env.local b/env.local deleted file mode 100644 index ac476840..00000000 --- a/env.local +++ /dev/null @@ -1,33 +0,0 @@ -# ============================================== -# API Configuration -# ============================================== -NEXT_PUBLIC_API_URL=https://api.codebridge-x.com - - -# Frontend URL (for CORS) -NEXT_PUBLIC_FRONTEND_URL=http://localhost:3000 - -# ============================================== -# Authentication Mode -# ============================================== -# 인증 모드: sanctum (웹 브라우저 쿠키 기반) -NEXT_PUBLIC_AUTH_MODE=sanctum - -# ============================================== -# API Key (⚠️ 절대 Git에 커밋하지 말 것!) -# ============================================== -# 개발용 고정 키 (주기적 갱신 예정) -# 발급일: 2025-11-07 -# 갱신 필요 시: PHP 백엔드 팀에 새 키 요청 -# ✅ 서버 전용 (클라이언트에 노출되지 않음) -API_KEY=42Jfwc6EaRQ04GNRmLR5kzJp5UudSOzGGqjmdk1a - -# ============================================== -# Google Maps API Key -# ============================================== -NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=AIzaSyAS3bAzmXlhhZHgO3buFiTGzavXZ6ubYq8 - -# ============================================== -# Puppeteer (로컬 PDF 생성용) -# ============================================== -PUPPETEER_EXECUTABLE_PATH=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome \ No newline at end of file