mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 02:21:00 +01:00
added json subtitle output
This commit is contained in:
@@ -203,6 +203,10 @@ namespace MediaBrowser.Common.Net
|
||||
{
|
||||
return "application/x-javascript";
|
||||
}
|
||||
if (ext.Equals(".json", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return JsonMimeType;
|
||||
}
|
||||
if (ext.Equals(".map", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "application/x-javascript";
|
||||
|
||||
Reference in New Issue
Block a user