diff --git a/Pkmds.Web/Program.cs b/Pkmds.Web/Program.cs index cb68f66b..906dc003 100644 --- a/Pkmds.Web/Program.cs +++ b/Pkmds.Web/Program.cs @@ -5,10 +5,9 @@ builder.RootComponents.Add("head::after"); services - .AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }) + .AddScoped(_ => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }) .AddMudServices() .AddFileSystemAccessService() - .AddScoped(_ => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }) .AddScoped() .AddScoped() .AddScoped()