diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-11 19:17:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-11 19:17:43 +0100 |
commit | 9a8cbd8278a37ee414f17d7de7c7281123484ba1 (patch) | |
tree | 11dcf06211e6e49cfb638172c3fa65011ff7fb88 /server/initializers | |
parent | 05bc4dfa069be5273765a68652598d72dbf482fb (diff) | |
download | PeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.tar.gz PeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.tar.zst PeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.zip |
Activity Pub improvements
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index a3c128d1f..eda3403f2 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -270,7 +270,8 @@ const SERVER_ACTOR_NAME = 'peertube' | |||
270 | const ACTIVITY_PUB = { | 270 | const ACTIVITY_PUB = { |
271 | POTENTIAL_ACCEPT_HEADERS: [ | 271 | POTENTIAL_ACCEPT_HEADERS: [ |
272 | 'application/activity+json', | 272 | 'application/activity+json', |
273 | 'application/ld+json' | 273 | 'application/ld+json', |
274 | 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"' | ||
274 | ], | 275 | ], |
275 | ACCEPT_HEADER: 'application/activity+json, application/ld+json', | 276 | ACCEPT_HEADER: 'application/activity+json, application/ld+json', |
276 | PUBLIC: 'https://www.w3.org/ns/activitystreams#Public', | 277 | PUBLIC: 'https://www.w3.org/ns/activitystreams#Public', |