Fix MauiProgram AddMauiBlazorWebView for Preview14

pull/55/head
Eric Erhardt 2022-03-24 14:01:04 -05:00
parent 71c9b6d7ff
commit c220b9ef97
1 changed files with 1 additions and 1 deletions

View File

@ -18,10 +18,10 @@ public static class MauiProgram
{
var builder = MauiApp.CreateBuilder();
builder
.RegisterBlazorMauiWebView()
.UseMauiApp<App>();
builder.Services.AddBlazorWebView();
builder.Services.AddMauiBlazorWebView();
builder.Services.AddHttpClient<PodcastService>(client =>
{
client.BaseAddress = new Uri(APIUrl);