aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-11 19:17:43 +0100
committerChocobozzz <me@florianbigard.com>2018-01-11 19:17:43 +0100
commit9a8cbd8278a37ee414f17d7de7c7281123484ba1 (patch)
tree11dcf06211e6e49cfb638172c3fa65011ff7fb88 /server/initializers/constants.ts
parent05bc4dfa069be5273765a68652598d72dbf482fb (diff)
downloadPeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.tar.gz
PeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.tar.zst
PeerTube-9a8cbd8278a37ee414f17d7de7c7281123484ba1.zip
Activity Pub improvements
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
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'
270const ACTIVITY_PUB = { 270const 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',