diff --git a/MiniPdf.Web/MiniPdf.Web.Client/Program.cs b/MiniPdf.Web/MiniPdf.Web.Client/Program.cs index f6c7dfbb..569c779a 100644 --- a/MiniPdf.Web/MiniPdf.Web.Client/Program.cs +++ b/MiniPdf.Web/MiniPdf.Web.Client/Program.cs @@ -4,6 +4,7 @@ using MiniPdf.Web.Client; var builder = WebAssemblyHostBuilder.CreateDefault(args); +builder.RootComponents.Add("#app"); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); builder.Services.AddSingleton();