about summary refs log tree commit diff
path: root/Utilities/LibMatrix.E2eeTestKit/Program.cs
blob: 32cb88367f918e3d856909955d4affd8b9861eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using LibMatrix.E2eeTestKit;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");

builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

await builder.Build().RunAsync();