- Added S3 client, mediaBucket, imgDomain fields to LinkPreviewService - Added ProxyImageToR2 method: downloads external OG image, uploads to R2 with deterministic key (og/<sha256>.ext), replaces ImageURL with R2 path - Called ProxyImageToR2 in post_handler.go (both sync and async paths) - Refactored OfficialAccountsService to use shared LinkPreviewService instead of creating inline instances - Reordered main.go init: S3 client setup before LinkPreviewService |
||
|---|---|---|
| .. | ||
| config | ||
| database | ||
| handlers | ||
| middleware | ||
| models | ||
| realtime | ||
| repository | ||
| services | ||