Files
DocNest/.gitignore
T
M1ngdaXieandClaude Sonnet 5 e43773aa71 fix: set production VITE_API_URL/VITE_WS_URL explicitly in CI build
The Gitea Actions workflow checks out a fresh copy of the repo via
actions/checkout, which never has frontend/.env.local (it's gitignored,
only exists in the manually-maintained /root/realtime-collab clone).
Without it, Vite silently fell back to the localhost dev defaults and
baked a broken API URL into the production bundle — every CI-triggered
build overwrote a working manual build with a broken one.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-08-15 16:32:47 +08:00

45 lines
593 B
Plaintext

# Environment variables (local overrides only)
# .env files are committed (contain production URLs, not secrets)
# .env.local files are git-ignored (contain local overrides)
.env.local
.env.*.local
backend/.env.local
frontend/.env.local
.env
# AI assistant instructions (keep private)
CLAUDE.md
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# OS-specific files
Thumbs.db
*.log
# Dependencies
node_modules/
# Build artifacts
dist/
dist-ssr/
build/
*.local
# Docker volumes and data
postgres_data/
.claude/
#test folder profiles
loadtest/pprof
/docs
.playwright-mcp/