From 7dc5ca6020fbff34f93be02fd85926f68875a6db Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 17 Aug 2024 12:08:56 +0200 Subject: [PATCH] Disable mime check on video subs --- src/collections/VideosSubtitles/VideosSubtitles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collections/VideosSubtitles/VideosSubtitles.ts b/src/collections/VideosSubtitles/VideosSubtitles.ts index 9774a0b..7d0e161 100644 --- a/src/collections/VideosSubtitles/VideosSubtitles.ts +++ b/src/collections/VideosSubtitles/VideosSubtitles.ts @@ -12,7 +12,7 @@ export const VideosSubtitles = buildCollectionConfig({ hidden: shownOnlyToAdmin, }, 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, }, timestamps: false,