diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-14 11:18:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:51:09 +0100 |
commit | fadf619ad61a016c1c7fc53de5a8f398a4f77519 (patch) | |
tree | bd449b9fe2353d812f4cf57f6dd03c2221b25607 /server/controllers/webfinger.ts | |
parent | 7efe153b0bc23e596d5019b9fb3e3e32b6cfeccd (diff) | |
download | PeerTube-fadf619ad61a016c1c7fc53de5a8f398a4f77519.tar.gz PeerTube-fadf619ad61a016c1c7fc53de5a8f398a4f77519.tar.zst PeerTube-fadf619ad61a016c1c7fc53de5a8f398a4f77519.zip |
Save
Diffstat (limited to 'server/controllers/webfinger.ts')
-rw-r--r-- | server/controllers/webfinger.ts | 4 |
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 | } |