projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405ec98
)
Support text/plain caption files
author
Chocobozzz
<me@florianbigard.com>
Fri, 18 Oct 2019 08:36:32 +0000
(10:36 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 18 Oct 2019 08:36:32 +0000
(10:36 +0200)
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index 332b57cf2e79ae2ee7a23bc5adfabc5c2eecc966..0e06496bc6a719b811a80ac2ba73cbcdb3fbeece 100644
(file)
--- a/
server/initializers/constants.ts
+++ b/
server/initializers/constants.ts
@@
-410,7
+410,8
@@
const MIMETYPES = {
VIDEO_CAPTIONS: {
MIMETYPE_EXT: {
'text/vtt': '.vtt',
- 'application/x-subrip': '.srt'
+ 'application/x-subrip': '.srt',
+ 'text/plain': '.srt'
}
},
TORRENT: {