Skip to content

fix(blog): resolve Leaflet image blobs from the owning PDS - #18

Merged
ewanc26 merged 1 commit into
mainfrom
fix/blog-leaflet-blob-urls
Sep 14, 2026
Merged

ewanc26 merged 1 commit into
mainfrom
fix/blog-leaflet-blob-urls

Conversation

@ewanc26

@ewanc26 ewanc26 commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Summary

Fix broken Leaflet/blog images by resolving the document author's current PDS before constructing com.atproto.sync.getBlob URLs.

The serializer currently points image blob requests at Slingshot itself. Slingshot is used for identity/record resolution, but the original blob needs to be fetched from the repo owner's PDS. @ewanc26/atproto already exposes resolveIdentity and buildPdsBlobUrl, so this uses those rather than hard-coding a host.

Validation

  • Kept the change scoped to Leaflet serialisation.
  • CI should run pnpm check, the focused tests, and pnpm build on this PR.

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Sep 14, 2026 2:42pm UTC

@ewanc26
ewanc26 merged commit 17d52ee into main Sep 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant