Add support for web serving .mem files
This commit is contained in:
parent
cff2b7fed1
commit
e49bb3f4e6
|
@ -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