aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-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// ---------------------------------------------------------------------------