We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52080b2 commit 0b2b98bCopy full SHA for 0b2b98b
LinkDotNet.Blog.Web/Program.cs
@@ -29,6 +29,7 @@ private static void RegisterServices(WebApplicationBuilder builder)
29
builder.Services.AddBlazoredToast();
30
builder.Services.RegisterServices();
31
builder.Services.AddStorageProvider(builder.Configuration);
32
+ builder.Services.AddResponseCompression();
33
34
if (builder.Environment.IsDevelopment())
35
{
@@ -52,6 +53,7 @@ private static void ConfigureApp(WebApplication app)
52
53
app.UseHsts();
54
}
55
56
+ app.UseResponseCompression();
57
app.UseHttpsRedirection();
58
app.UseStaticFiles();
59
0 commit comments