Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiyanYunyi committed Oct 27, 2023
1 parent 6d15995 commit 2c6f4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/activitypub/note/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ 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: `<p><a rel= href="https://blog.yunyi.beiyan.us${post.url}">${
content: `<p><a href="https://blog.yunyi.beiyan.us${post.url}">${
post.frontmatter.title
}</a></p><p>${post.frontmatter.description || ''}</p>`,
published: new Date(post.frontmatter.date).toISOString(),
Expand Down

0 comments on commit 2c6f4a5

Please sign in to comment.