Disable mime check on video subs

This commit is contained in:
DrMint 2024-08-17 12:08:56 +02:00
parent 0806c74f8c
commit 7dc5ca6020
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export const VideosSubtitles = buildCollectionConfig({
hidden: shownOnlyToAdmin, hidden: shownOnlyToAdmin,
}, },
upload: { upload: {
mimeTypes: ["text/*"], // mimeTypes: ["text/*"], Disable because of a bug on Chrome windows where the MIME is detected as application/octet-stream instead of text/vtt or text/plain
disableLocalStorage: true, disableLocalStorage: true,
}, },
timestamps: false, timestamps: false,