fedimbed.bluesky: minor nitpick of double slashes on quoted urls

This commit is contained in:
Cynthia Foxwell 2024-11-09 00:08:52 -07:00
parent 6494ee3226
commit 2d0d33bb33

View file

@ -125,7 +125,7 @@ async function blueskyQuoteEmbed(quote, videos) {
const mainEmbed = {
color: PLATFORM_COLORS.bluesky,
url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/"))}`,
url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/") + 1)}`,
author: {name: "\u2198 Quoted Post"},
title: `${quote.author.displayName} (@${quote.author.handle})`,
thumbnail: {