From 6d15995dd319af22aa7b5444ea634ff56c423417 Mon Sep 17 00:00:00 2001 From: BeiyanYunyi <14120445+BeiyanYunyi@users.noreply.github.com> Date: Fri, 27 Oct 2023 20:48:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/api/activitypub/note/[id].ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/api/activitypub/note/[id].ts b/src/pages/api/activitypub/note/[id].ts index 11c3d2d6..aab157f4 100644 --- a/src/pages/api/activitypub/note/[id].ts +++ b/src/pages/api/activitypub/note/[id].ts @@ -22,9 +22,9 @@ export const GET: APIRoute = async ({ params }) => { type: 'Note', attributedTo: 'https://blog.yunyi.beiyan.us/api/activitypub/actor', cc: ['https://blog.yunyi.beiyan.us/api/activitypub/followers'], - content: `
发布了新的博文:${
+ content: ` ${
post.frontmatter.title
- }
${post.frontmatter.description || ''}
${post.frontmatter.description || ''}
`, published: new Date(post.frontmatter.date).toISOString(), to: ['https://www.w3.org/ns/activitystreams#Public'], url: `https://blog.yunyi.beiyan.us${post.url}`,