using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using MudBlazor.Services; var builder = WebAssemblyHostBuilder.CreateDefault(args); // MudBlazor (WASM 측 인터랙티브 컴포넌트용) builder.Services.AddMudServices(); // API 호출용 HttpClient — 호스트 base(`/taxbaik/`) 기준 builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); builder.Services.AddAuthorizationCore(); await builder.Build().RunAsync();