fix: Add rel attribute to host-meta (#8583)
* Add rel attribute to host-meta * CHANGELOG
This commit is contained in:
@ -41,6 +41,7 @@ router.options(allPath, async ctx => {
|
||||
router.get('/.well-known/host-meta', async ctx => {
|
||||
ctx.set('Content-Type', xrd);
|
||||
ctx.body = XRD({ element: 'Link', attributes: {
|
||||
rel: 'lrdd',
|
||||
type: xrd,
|
||||
template: `${config.url}${webFingerPath}?resource={uri}`,
|
||||
} });
|
||||
|
Reference in New Issue
Block a user