a tool for shared writing and social publishing

handle trailing brid.gy /

+3 -1
+3 -1
app/api/inngest/functions/sync_document_metadata.ts
··· 23 23 ?.replace("at://", ""); 24 24 if (!doc) return null; 25 25 const isBridgy = !!doc?.service?.find( 26 - (s) => s.serviceEndpoint === "https://atproto.brid.gy", 26 + (s) => 27 + typeof s.serviceEndpoint === "string" && 28 + s.serviceEndpoint.includes("atproto.brid.gy"), 27 29 ); 28 30 return { handle: handle ?? null, isBridgy, doc }; 29 31 });