fix duplicate database migration; fix ssa subtitles (#2216)

This commit is contained in:
Jason Dove
2025-07-28 19:23:59 +00:00
committed by GitHub
parent 1df9104854
commit 74733a8026
4 changed files with 17 additions and 6 deletions
+2 -2
View File
@@ -198,8 +198,8 @@ public class InternalController : ControllerBase
{
string mimeType = Path.GetExtension(path).ToLowerInvariant() switch
{
"ass" or "ssa" => "text/x-ssa",
"vtt" => "text/vtt",
".ass" or ".ssa" => "text/x-ssa",
".vtt" => "text/vtt",
_ => "application/x-subrip"
};