fedimbed.bluesky: minor nitpick of double slashes on quoted urls
This commit is contained in:
parent
6494ee3226
commit
2d0d33bb33
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ async function blueskyQuoteEmbed(quote, videos) {
|
||||||
|
|
||||||
const mainEmbed = {
|
const mainEmbed = {
|
||||||
color: PLATFORM_COLORS.bluesky,
|
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"},
|
author: {name: "\u2198 Quoted Post"},
|
||||||
title: `${quote.author.displayName} (@${quote.author.handle})`,
|
title: `${quote.author.displayName} (@${quote.author.handle})`,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue