From b419b316304e00d6a564ddb5b290541512c7cb57 Mon Sep 17 00:00:00 2001 From: Deva Midhun Date: Sun, 9 Feb 2025 17:02:21 +0000 Subject: [PATCH] actor.ts update! --- api/activitypub/actor.ts | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/api/activitypub/actor.ts b/api/activitypub/actor.ts index cef7328..0be7198 100644 --- a/api/activitypub/actor.ts +++ b/api/activitypub/actor.ts @@ -17,16 +17,25 @@ export default async function (req: VercelRequest, res: VercelResponse) { "followers": "https://coderrrrr.site/api/activitypub/followers", "sharedInbox": "https://coderrrrr.site/api/activitypub/sharedInbox", "inbox": "https://coderrrrr.site/api/activitypub/inbox", + "url": "https://coderrrrr.site/blog" + "published": "2025-02-09T17:01:02Z", "preferredUsername": "blog", "name": "Deva Midhun's blog", + "manuallyApprovesFollowers": false, "discoverable": true, "indexable": true, - "summary": "Software developer & self-hosting enthusiast.", + "memorial": false, + "summary": "Software developer & self-hosting enthusiast. This is a bridge between my blog and the fediverse!", "icon": { "type": "Image", "mediaType": "image/png", "url": "https://i.ibb.co/N6J5b8WS/download20250102015611.png" }, + "publicKey": { + "id": "https://coderrrrr.site/blog#main-key", + "owner": "https://coderrrrr.site/blog", + "publicKeyPem": process.env.ACTIVITYPUB_PUBLIC_KEY || "MISSING_PUBLIC_KEY" + }, "attachment": [ { "type": "PropertyValue", @@ -48,11 +57,6 @@ export default async function (req: VercelRequest, res: VercelResponse) { "value": "https://keyoxide.org/6389542B98CB868DAC73A373ED1190B780583CF6", "name": "Keyoxide" } - ], - "publicKey": { - "id": "https://coderrrrr.site/blog#main-key", - "owner": "https://coderrrrr.site/blog", - "publicKeyPem": process.env.ACTIVITYPUB_PUBLIC_KEY || "MISSING_PUBLIC_KEY" - } + ] }); }