aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-18 11:53:04 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 10:53:16 +0100
commitce33ee01cd3806201b676c318e9aa930032921b2 (patch)
treea067f57a571f417fc7b70f39af4302cd17183b07 /server/helpers/activitypub.ts
parent555846c99fa43b237814d32bd55d8124405187d3 (diff)
downloadPeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.tar.gz
PeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.tar.zst
PeerTube-ce33ee01cd3806201b676c318e9aa930032921b2.zip
Use RsaSignature2017
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index 5850fc19f..b6207c915 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -10,6 +10,7 @@ function activityPubContextify <T> (data: T) {
10 'https://www.w3.org/ns/activitystreams', 10 'https://www.w3.org/ns/activitystreams',
11 'https://w3id.org/security/v1', 11 'https://w3id.org/security/v1',
12 { 12 {
13 'RsaSignature2017': 'https://w3id.org/security#RsaSignature2017',
13 'Hashtag': 'as:Hashtag', 14 'Hashtag': 'as:Hashtag',
14 'uuid': 'http://schema.org/identifier', 15 'uuid': 'http://schema.org/identifier',
15 'category': 'http://schema.org/category', 16 'category': 'http://schema.org/category',
@@ -17,8 +18,7 @@ function activityPubContextify <T> (data: T) {
17 'nsfw': 'as:sensitive', 18 'nsfw': 'as:sensitive',
18 'language': 'http://schema.org/inLanguage', 19 'language': 'http://schema.org/inLanguage',
19 'views': 'http://schema.org/Number', 20 'views': 'http://schema.org/Number',
20 'size': 'http://schema.org/Number', 21 'size': 'http://schema.org/Number'
21 'VideoChannel': 'https://peertu.be/ns/VideoChannel'
22 } 22 }
23 ] 23 ]
24 }) 24 })