Fix upload directory path issue

- Change UPLOAD_DIR from ../uploads to ./uploads in server/.env
- Use absolute path with process.cwd() in upload middleware
- Ensures uploads directory is created in correct location
This commit is contained in:
2025-11-16 22:54:30 +00:00
parent 39ce69172d
commit 4e5ab7d41b
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@
## Cleanup Tracking System
- [-] 18. Implement "Mark as Cleaned" functionality
- [x] 18. Implement "Mark as Cleaned" functionality
- Add `cleaned_at` timestamp field to reports table
- Add `cleaned_by_user_id` field to track who marked it as cleaned
- Create POST /api/reports/:id/mark-cleaned backend endpoint