mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 06:13:09 +02:00
fix: Add rel attribute to host-meta (#8583)
* Add rel attribute to host-meta * CHANGELOG
This commit is contained in:
parent
e083205824
commit
60391ff37e
2 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ You should also include the user name that made the change.
|
||||||
- Client: fix profile tabs @futchitwo
|
- Client: fix profile tabs @futchitwo
|
||||||
- Server: await promises when following or unfollowing users @Johann150
|
- Server: await promises when following or unfollowing users @Johann150
|
||||||
- Client: fix abuse reports page to be able to show all reports @Johann150
|
- Client: fix abuse reports page to be able to show all reports @Johann150
|
||||||
|
- Federation: Add rel attribute to host-meta @mei23
|
||||||
|
|
||||||
## 12.110.1 (2022/04/23)
|
## 12.110.1 (2022/04/23)
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ router.options(allPath, async ctx => {
|
||||||
router.get('/.well-known/host-meta', async ctx => {
|
router.get('/.well-known/host-meta', async ctx => {
|
||||||
ctx.set('Content-Type', xrd);
|
ctx.set('Content-Type', xrd);
|
||||||
ctx.body = XRD({ element: 'Link', attributes: {
|
ctx.body = XRD({ element: 'Link', attributes: {
|
||||||
|
rel: 'lrdd',
|
||||||
type: xrd,
|
type: xrd,
|
||||||
template: `${config.url}${webFingerPath}?resource={uri}`,
|
template: `${config.url}${webFingerPath}?resource={uri}`,
|
||||||
} });
|
} });
|
||||||
|
|
Loading…
Reference in a new issue