mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Try disabling response compression
This commit is contained in:
parent
c032f3fa7a
commit
354d247314
1 changed files with 0 additions and 3 deletions
|
@ -63,8 +63,6 @@ public void ConfigureServices(IServiceCollection services)
|
|||
|
||||
services.AddRouting(options => options.LowercaseUrls = true);
|
||||
|
||||
services.AddResponseCompression(options => options.EnableForHttps = true);
|
||||
|
||||
services.AddCors(options =>
|
||||
{
|
||||
options.AddPolicy(VersionedApiControllerAttribute.API_CORS_POLICY,
|
||||
|
@ -255,7 +253,6 @@ public void Configure(IApplicationBuilder app,
|
|||
app.UseCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.UseResponseCompression();
|
||||
app.Properties["host.AppName"] = BuildInfo.AppName;
|
||||
|
||||
app.UseMiddleware<VersionMiddleware>();
|
||||
|
|
Loading…
Reference in a new issue