diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-29 11:34:44 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-29 11:34:44 +0100 |
commit | 165cdc75bf1942ed687f78094c2bd366839a7c99 (patch) | |
tree | 4b174114bf175603202c3672c5dc04c22582701d /server/controllers/webfinger.ts | |
parent | 14063e965672ed724b7bfea6686acc14923e07a7 (diff) | |
download | PeerTube-165cdc75bf1942ed687f78094c2bd366839a7c99.tar.gz PeerTube-165cdc75bf1942ed687f78094c2bd366839a7c99.tar.zst PeerTube-165cdc75bf1942ed687f78094c2bd366839a7c99.zip |
Fix well known and json parser with mastodon
Diffstat (limited to 'server/controllers/webfinger.ts')
-rw-r--r-- | server/controllers/webfinger.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/webfinger.ts b/server/controllers/webfinger.ts index 1cea513a1..78e5dee79 100644 --- a/server/controllers/webfinger.ts +++ b/server/controllers/webfinger.ts | |||
@@ -27,6 +27,7 @@ function webfingerController (req: express.Request, res: express.Response, next: | |||
27 | links: [ | 27 | links: [ |
28 | { | 28 | { |
29 | rel: 'self', | 29 | rel: 'self', |
30 | type: 'application/activity+json', | ||
30 | href: account.url | 31 | href: account.url |
31 | } | 32 | } |
32 | ] | 33 | ] |