aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/webfinger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/webfinger.ts')
-rw-r--r--server/controllers/webfinger.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/webfinger.ts b/server/controllers/webfinger.ts
index bb2ea40fa..8829500bc 100644
--- a/server/controllers/webfinger.ts
+++ b/server/controllers/webfinger.ts
@@ -23,12 +23,12 @@ function webfingerController (req: express.Request, res: express.Response, next:
23 23
24 const json = { 24 const json = {
25 subject: req.query.resource, 25 subject: req.query.resource,
26 aliases: [ account.url ], 26 aliases: [ account.Actor.url ],
27 links: [ 27 links: [
28 { 28 {
29 rel: 'self', 29 rel: 'self',
30 type: 'application/activity+json', 30 type: 'application/activity+json',
31 href: account.url 31 href: account.Actor.url
32 } 32 }
33 ] 33 ]
34 } 34 }