1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Specify charset in content type for subtitles

This commit is contained in:
Chocobozzz 2025-04-03 06:09:24 +02:00
parent f0f44e1704
commit 0ee00337f3
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -78,7 +78,7 @@ export function storeVideoCaption (inputPath: string, filename: string) {
objectStorageKey: generateCaptionObjectStorageKey(filename),
bucketInfo: CONFIG.OBJECT_STORAGE.CAPTIONS,
isPrivate: false,
contentType: 'text/vtt'
contentType: 'text/vtt; charset=UTF-8'
})
}