Fixing the composite of IFileSystem.FileResult

This commit is contained in:
Zoe Roux 2021-07-21 19:01:31 +02:00
parent 42863bc403
commit bb5dc0dcae

View File

@ -76,7 +76,7 @@ namespace Kyoo.Controllers
if (path == null) if (path == null)
return new NotFoundResult(); return new NotFoundResult();
return _GetFileSystemForPath(path, out string relativePath) return _GetFileSystemForPath(path, out string relativePath)
.FileResult(relativePath); .FileResult(relativePath, rangeSupport, type);
} }
/// <inheritdoc /> /// <inheritdoc />