[Components][Fixes #8058] Update blazor template to use IWebHostEnvironment (#8234)

This commit is contained in:
Javier Calvarro Nelson 2019-03-20 16:59:17 +01:00 committed by GitHub
parent 7c3d249c77
commit 9db249e30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ namespace BlazorHosted_CSharp.Server
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseResponseCompression();