Warren
ce4f0602c8
fix: Add user_id to stream and probe API calls
Problem:
- JPG files showed 'no preview'
- stream API calls missing user_id parameter
- probe API calls missing user_id parameter
Solution:
- Modified page.html stream calls:
/api/v2/files/{user_id}/{file_uuid}/stream
- Modified page.html probe calls:
/api/v2/files/{user_id}/{file_uuid}/probe
- Modified server.rs get_file_probe to accept user_id
Result:
- JPG/PNG images now show preview ✅
- Video files can be played ✅
- All file preview APIs use correct user database ✅
Files:
- src/page.html (3 API calls fixed)
- src/server.rs (get_file_probe)
2026-05-17 04:53:07 +08:00
..
2026-05-16 15:37:37 +08:00
2026-05-17 04:29:46 +08:00
2026-05-17 04:53:07 +08:00
2026-05-16 20:47:28 +08:00