Skip to content

Commit

Permalink
#14:
Browse files Browse the repository at this point in the history
Enable range processing
  • Loading branch information
trannamtrung1st committed Jul 19, 2021
1 parent 13aa9ec commit 9effb3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public static async Task<IActionResult> GetPhysicalFileAsync(this ControllerBase
if (!file.CanDownload())
return controller.Forbid();

return controller.File(await file.OpenReadAsync(cancellationToken: cancellationToken), file.MimeType);
return controller.File(await file.OpenReadAsync(cancellationToken: cancellationToken), file.MimeType,
enableRangeProcessing: true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<IsPackable>true</IsPackable>
<Description>This package enables ASP.NET Core 2.2 projects to easily integrate the elFinder.Net.Core connector. See the example project on Github for usage detail.</Description>
<PackageIcon>logo.png</PackageIcon>
<Version>1.2.6</Version>
<Version>1.2.6.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 9effb3c

Please # to comment.