chore(WEB): .env 파일 이력관리 제거 및 .gitignore 강화

- .gitignore에 .env* 포괄 패턴 추가
- 추적 중이던 .env.example, .env.production 등 모든 env 파일 git rm --cached
This commit is contained in:
2026-02-09 16:11:07 +09:00
parent 53b4f43b14
commit 318cc415ed
2 changed files with 4 additions and 36 deletions

7
.gitignore vendored
View File

@@ -95,9 +95,10 @@ build/
.idea/
*.iml
# ---> Claude
.env.local
.env*.local
# ---> Environment
.env
.env.*
.env*
# ---> Unused components and contexts (archived)
src/components/_unused/

View File

@@ -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