diff --git a/Program.cs b/Program.cs index a1190cc..035b202 100644 --- a/Program.cs +++ b/Program.cs @@ -6,7 +6,7 @@ var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add("#app"); builder.RootComponents.Add("head::after"); -//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); -builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://10.0.0.190") }); +builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); +//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://10.0.0.190") }); await builder.Build().RunAsync();