fix compressione response

This commit is contained in:
Samuele Locatelli
2023-06-08 19:02:42 +02:00
parent 0ad217bc54
commit d7239dbf85
5 changed files with 4 additions and 5 deletions
-1
View File
@@ -60,7 +60,6 @@ var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseResponseCompression();
app.UseExceptionHandler("/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();