stellaris-idle/Program.cs
OpenClaw CI 77a30be8ff
Some checks failed
Build & Test / build (push) Failing after 3s
Build & Test / publish (push) Has been skipped
Add initial Blazor WASM project structure with tests
2026-06-07 20:06:05 +00:00

11 lines
438 B
C#

using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using StellarisIdle;
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();