Ensure req.hostname is shared as the preferredUsername

This commit is contained in:
Andrew Pietila 2023-03-29 08:17:16 -05:00
parent 9c6f997c2a
commit f9c1223e0b

View file

@ -32,7 +32,7 @@ module.exports = {
},
'as:manuallyApprovesFollowers': true,
'outbox': `https://${req.hostname}/actor/outbox`,
'preferredUsername': '${req.hostname}',
'preferredUsername': `${req.hostname}`,
'url': `https://${req.hostname}/about/more?instance_actor=true`
});
return res.end();