]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Add SQL backup/restore commands in production guide
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 7b63a9ccd20edefe55134911c5f69c3092e826bb..c10213890cd34c25603758eb98c8714a71a62cea 100644 (file)
@@ -283,7 +283,7 @@ const ACTIVITY_PUB = {
   FETCH_PAGE_LIMIT: 100,
   MAX_HTTP_ATTEMPT: 5,
   URL_MIME_TYPES: {
-    VIDEO: [ 'video/mp4', 'video/webm', 'video/ogg' ], // TODO: Merge with VIDEO_MIMETYPE_EXT
+    VIDEO: Object.keys(VIDEO_MIMETYPE_EXT),
     TORRENT: [ 'application/x-bittorrent' ],
     MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ]
   },