diff --git a/lib/activitypub/webfinger.ts b/lib/activitypub/webfinger.ts index 1dc3293..ec734b1 100644 --- a/lib/activitypub/webfinger.ts +++ b/lib/activitypub/webfinger.ts @@ -6,7 +6,7 @@ const domain = process.env.DOMAIN; export default function webfinger(router: Router) { router.get("/.well-known/webfinger", (req, res) => { res.json({ - subject: `acct:block@${domain}`, + subject: `acct:blog@${domain}`, aliases: [`https://${domain}/ap/actor`], links: [ { @@ -16,16 +16,6 @@ export default function webfinger(router: Router) { } ] } as WebfingerResult); - res.json({ - "subject": `acct:blog@${domain}`, - "links": [ - { - "rel": "self", - "type": "application/activity+json", - "href": `https://${domain}/ap/actor` - } - ] - }); res.end(); }); }