Skip to content
Snippets Groups Projects
Unverified Commit 60391ff3 authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

fix: Add rel attribute to host-meta (#8583)

* Add rel attribute to host-meta

* CHANGELOG
parent e0832058
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ You should also include the user name that made the change.
- Client: fix profile tabs @futchitwo
- Server: await promises when following or unfollowing users @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)
......
......@@ -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}`,
} });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment