mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-12 01:03:26 +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