an app to share curated trails

fix non-post bsky links

+2 -3
+1 -1
app/at/(trail)/[handle]/trail/[rkey]/StopEmbed.tsx
··· 25 25 if (existing) return existing; 26 26 27 27 const promise = 28 - uri.startsWith("at://") || uri.includes("bsky.app") 28 + uri.startsWith("at://") || (uri.includes("bsky.app") && uri.includes("/post/")) 29 29 ? getBlueskyPost(uri) 30 30 : getLinkMetadata(uri); 31 31
+1 -2
app/at/(trail)/[handle]/trail/[rkey]/utils/linkExtraction.ts
··· 29 29 if (httpMatch) { 30 30 const url = httpMatch[0]; 31 31 32 - // Check if it's a bsky.app URL 33 - if (url.includes("bsky.app")) { 32 + if (url.includes("bsky.app") && url.includes("/post/")) { 34 33 return { 35 34 type: "bluesky", 36 35 uri: url,