From 1bfe90de1c3f9063768c3d54b53151d3d0bb6aaa Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 19 Feb 2024 15:45:11 +0100 Subject: [PATCH] tolta gestione response compressione --- MP-TAB3/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MP-TAB3/Program.cs b/MP-TAB3/Program.cs index 8c872920..efd6079b 100644 --- a/MP-TAB3/Program.cs +++ b/MP-TAB3/Program.cs @@ -53,11 +53,13 @@ if (!app.Environment.IsDevelopment()) app.UseHsts(); } +#if false // disable response compression in development, see https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/signalr?view=aspnetcore-6.0 if (!app.Environment.IsDevelopment()) { app.UseResponseCompression(); -} +} +#endif app.UseHttpsRedirection();