diff options
| author | diogo464 <[email protected]> | 2025-08-12 16:32:00 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-08-12 16:32:00 +0100 |
| commit | fcd70649f43a72dbbcbc79e524fbe3fe20261021 (patch) | |
| tree | 9bfa929fa7b6f740d6c15a9da550849bcda27150 /src | |
| parent | 70738d871decbcdec4f5535a7b6f57de26de7d2a (diff) | |
Replace complex /api/fs with simple /api/upload endpoint
- Create new /api/upload endpoint for file uploads with path query parameter
- Simplify DriveDirectoryClient upload logic to use POST instead of PUT
- Remove complex path encoding and AUTH header handling from client
- Remove unused /api/fs endpoint entirely - no longer needed
- Maintain all existing upload functionality (file size limits, auth, etc.)
- Test uploads to root directory and subdirectories - both working perfectly
Benefits:
- Cleaner API surface with single-purpose endpoints
- Simpler client code with less complexity
- Better separation of concerns
- Maintained backward compatibility for user experience
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
