1
0
Fork 0
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:
ta264 2022-05-25 21:51:13 +01:00
parent c032f3fa7a
commit 354d247314

View file

@ -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>();