Merge pull request #4660 from crobibero/mime-type
Add support for web serving .mem files
This commit is contained in:
commit
3980b5ce9f
|
@ -133,8 +133,9 @@ namespace Jellyfin.Server
|
|||
{
|
||||
var extensionProvider = new FileExtensionContentTypeProvider();
|
||||
|
||||
// subtitles octopus requires .data files.
|
||||
// subtitles octopus requires .data, .mem files.
|
||||
extensionProvider.Mappings.Add(".data", MediaTypeNames.Application.Octet);
|
||||
extensionProvider.Mappings.Add(".mem", MediaTypeNames.Application.Octet);
|
||||
mainApp.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(_serverConfigurationManager.ApplicationPaths.WebPath),
|
||||
|
|
Loading…
Reference in New Issue
Block a user