fix: Add Sharp fallback for photo uploads on old CPUs
The server CPU doesn't support Sharp's prebuilt binaries (requires v2 microarchitecture). Added graceful fallback to upload images without optimization when Sharp is unavailable. Changes: - StorageService.uploadImage() falls back to direct upload without optimization - StorageService.generateThumbnail() uses original image if Sharp fails - Logs warnings when Sharp is unavailable instead of crashing - Photo uploads now work on all CPU architectures Images upload without optimization until Sharp is built from source or server is upgraded. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user