From 4e8909bd67b078873497ac5171a7f6816784eace Mon Sep 17 00:00:00 2001 From: Tom Sherman Date: Thu, 18 Jul 2024 21:33:07 +0100 Subject: [PATCH] Update discord notification with new URLs (#107) --- packages/frontpage/lib/data/db/post.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontpage/lib/data/db/post.ts b/packages/frontpage/lib/data/db/post.ts index 597c7fed..25c6a2fb 100644 --- a/packages/frontpage/lib/data/db/post.ts +++ b/packages/frontpage/lib/data/db/post.ts @@ -218,13 +218,13 @@ export async function unauthed_createPost({ { title: "New post on Frontpage", description: post.title, - url: `https://frontpage.fyi/post/${rkey}`, + url: `https://frontpage.fyi/post/${authorDid}/${rkey}`, color: 10181046, author: bskyProfile ? { name: `@${bskyProfile.handle}`, icon_url: bskyProfile.avatar, - url: `https://bsky.app/profile/${bskyProfile.handle}`, + url: `https://frontpage.fyi/profile/${bskyProfile.handle}`, } : undefined, fields: [