migrate mobile blazor code to p14
parent
8983f2efcc
commit
b41761d640
|
@ -18,10 +18,9 @@ public static class MauiProgram
|
||||||
{
|
{
|
||||||
var builder = MauiApp.CreateBuilder();
|
var builder = MauiApp.CreateBuilder();
|
||||||
builder
|
builder
|
||||||
.RegisterBlazorMauiWebView()
|
|
||||||
.UseMauiApp<App>();
|
.UseMauiApp<App>();
|
||||||
|
|
||||||
builder.Services.AddBlazorWebView();
|
builder.Services.AddMauiBlazorWebView();
|
||||||
builder.Services.AddHttpClient<PodcastService>(client =>
|
builder.Services.AddHttpClient<PodcastService>(client =>
|
||||||
{
|
{
|
||||||
client.BaseAddress = new Uri(APIUrl);
|
client.BaseAddress = new Uri(APIUrl);
|
||||||
|
|
Loading…
Reference in New Issue