migrate mobile blazor code to p14
parent
8983f2efcc
commit
b41761d640
|
@ -18,10 +18,9 @@ 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);
|
||||
|
|
Loading…
Reference in New Issue