fix: send back correct actor id on webfinger calls

This commit is contained in:
Julian Lam
2024-01-26 11:20:14 -05:00
parent ddf17ee5fb
commit 25434d2a6e
2 changed files with 2 additions and 3 deletions

View File

@@ -96,8 +96,7 @@ Controller.postInbox = async (req, res) => {
}
default: {
console.log('Unhandled Activity!!!');
console.log(req.body);
res.sendStatus(501);
}
}

View File

@@ -44,7 +44,7 @@ Controller.webfinger = async (req, res) => {
{
rel: 'self',
type: 'application/activity+json',
href: `${nconf.get('url')}/user/${slug}`, // actor
href: `${nconf.get('url')}/uid/${uid}`, // actor
},
{
rel: 'http://webfinger.net/rel/profile-page',