Something went wrong. Try again.
a tool for shared writing and social publishing forked from leaflet.pub/leaflet
Something went wrong. Try again.
12345import { BlobRef } from "@atproto/lexicon";
export const blobRefToSrc = (b: BlobRef["ref"], did: string) => `/api/atproto_images?did=${did}&cid=${(b as unknown as { $link: string })["$link"]}`;