mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: send back correct actor id on webfinger calls
This commit is contained in:
@@ -96,8 +96,7 @@ Controller.postInbox = async (req, res) => {
|
||||
}
|
||||
|
||||
default: {
|
||||
console.log('Unhandled Activity!!!');
|
||||
console.log(req.body);
|
||||
res.sendStatus(501);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user