diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-18 10:36:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-18 10:36:32 +0200 |
commit | 2f26030dd2da121fb1d1701600e93f689141df40 (patch) | |
tree | 99504c8534986959d8a327ab8799f63614961948 /server/initializers/constants.ts | |
parent | 405ec98b916df9afb114ad20e847221d4eb94eea (diff) | |
download | PeerTube-2f26030dd2da121fb1d1701600e93f689141df40.tar.gz PeerTube-2f26030dd2da121fb1d1701600e93f689141df40.tar.zst PeerTube-2f26030dd2da121fb1d1701600e93f689141df40.zip |
Support text/plain caption files
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 332b57cf2..0e06496bc 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -410,7 +410,8 @@ const MIMETYPES = { | |||
410 | VIDEO_CAPTIONS: { | 410 | VIDEO_CAPTIONS: { |
411 | MIMETYPE_EXT: { | 411 | MIMETYPE_EXT: { |
412 | 'text/vtt': '.vtt', | 412 | 'text/vtt': '.vtt', |
413 | 'application/x-subrip': '.srt' | 413 | 'application/x-subrip': '.srt', |
414 | 'text/plain': '.srt' | ||
414 | } | 415 | } |
415 | }, | 416 | }, |
416 | TORRENT: { | 417 | TORRENT: { |