following from other node

This commit is contained in:
lesion
2019-07-30 00:57:45 +02:00
parent c8e6e421c6
commit fceb94f4e4
4 changed files with 14 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ router.get('/', async (req, res) => {
const user = await User.findOne({where: { username: name } })
if (!user) return res.status(404).send(`No record found for ${name}`)
const ret = {
subject: `acct:${name}@${host}`,
subject: `acct:${name}@${domain}`,
links: [
{
rel: 'self',