chore: ignore server/uploads and storage folders to prevent deletion during git clean on deploy

This commit is contained in:
2026-07-06 07:29:50 +07:00
parent db745b1bd9
commit 647e13e988
21 changed files with 27 additions and 84 deletions

27
.gitignore vendored Normal file
View File

@@ -0,0 +1,27 @@
# Dependency directories
node_modules/
# Production builds
dist/
build/
# IDEs and OS files
.idea/
.vscode/
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Upload and storage directories (CRITICAL: Ignore to prevent git clean -fd from deleting them)
server/uploads/
storage/
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local