aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-16 15:22:39 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit20494f122186bb1bfd82f4c598c4744acea27b0c (patch)
tree097652a31ecf70491b970b6c8e06b22380ee004f /server/initializers
parentefc32059d980c51793e8e9ac0fb6a885a8026f94 (diff)
downloadPeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.gz
PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.zst
PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.zip
Server shares user videos
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts12
1 files changed, 5 insertions, 7 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index dca223370..eeda8347d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -227,13 +227,11 @@ const ACTIVITY_PUB_ACCEPT_HEADER = 'application/ld+json; profile="https://www.w3
227 227
228const ACTIVITY_PUB = { 228const ACTIVITY_PUB = {
229 COLLECTION_ITEMS_PER_PAGE: 10, 229 COLLECTION_ITEMS_PER_PAGE: 10,
230 VIDEO_URL_MIME_TYPES: [ 230 URL_MIME_TYPES: {
231 'video/mp4', 231 VIDEO: [ 'video/mp4', 'video/webm', 'video/ogg' ], // TODO: Merge with VIDEO_MIMETYPE_EXT
232 'video/webm', 232 TORRENT: [ 'application/x-bittorrent' ],
233 'video/ogg', 233 MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ]
234 'application/x-bittorrent', 234 }
235 'application/x-bittorrent;x-scheme-handler/magnet'
236 ]
237} 235}
238 236
239// --------------------------------------------------------------------------- 237// ---------------------------------------------------------------------------