Skip to content

Commit

Permalink
Switch to using Bluesky CDN for images.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syfaro committed Sep 5, 2024
1 parent 45b9136 commit d21be96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/bsky.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@ async fn load_bluesky_post(
};

let url = format!(
"https://bsky.social/xrpc/com.atproto.sync.getBlob?did={}&cid={image_cid}",
payload.repo
"https://cdn.bsky.app/img/feed_fullsize/plain/{repo}/{image_cid}@jpeg",
repo = payload.repo
);

let (sha256, data) =
Expand Down

0 comments on commit d21be96

Please sign in to comment.