mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix: add avatar in webfinger response
This commit is contained in:
parent
daa12f5123
commit
82079ae4b2
1 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,12 @@ router.get('/webfinger', allowFederation, (req, res) => {
|
|||
rel: 'self',
|
||||
type: 'application/activity+json',
|
||||
href: `${settings.baseurl}/federation/u/${name}`
|
||||
}
|
||||
},
|
||||
{
|
||||
"href" : settings.baseurl + '/logo.png',
|
||||
"rel" : "http://webfinger.net/rel/avatar",
|
||||
"type" : "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
res.set('Content-Type', 'application/jrd+json')
|
||||
|
|
Loading…
Reference in a new issue