diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
commit | 0374b6b5cd685316f924874b2a3068bb345eb0dd (patch) | |
tree | 43731106158cd37cc616d0801fcc2681befc9708 /server/controllers/webfinger.ts | |
parent | 2f1756a03ccf3546f9bbcd98bc149e350d3d950a (diff) | |
download | PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.gz PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.zst PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.zip |
Cleanup server fixme
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 fc9575160..77c851880 100644 --- a/server/controllers/webfinger.ts +++ b/server/controllers/webfinger.ts | |||
@@ -18,7 +18,7 @@ export { | |||
18 | // --------------------------------------------------------------------------- | 18 | // --------------------------------------------------------------------------- |
19 | 19 | ||
20 | function webfingerController (req: express.Request, res: express.Response) { | 20 | function webfingerController (req: express.Request, res: express.Response) { |
21 | const actor = res.locals.actorFull | 21 | const actor = res.locals.actorUrl |
22 | 22 | ||
23 | const json = { | 23 | const json = { |
24 | subject: req.query.resource, | 24 | subject: req.query.resource, |
@@ -32,5 +32,5 @@ function webfingerController (req: express.Request, res: express.Response) { | |||
32 | ] | 32 | ] |
33 | } | 33 | } |
34 | 34 | ||
35 | return res.json(json).end() | 35 | return res.json(json) |
36 | } | 36 | } |