From 92059dc044a98c3664fb4a653c13653fe9f6cc26 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 29 Apr 2022 10:56:30 -0700 Subject: [PATCH] Update APIUrl so the .NET MAUI Blazor app works locally --- src/MobileBlazor/mauiapp/MauiProgram.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MobileBlazor/mauiapp/MauiProgram.cs b/src/MobileBlazor/mauiapp/MauiProgram.cs index 524fdf4..e8aed0f 100644 --- a/src/MobileBlazor/mauiapp/MauiProgram.cs +++ b/src/MobileBlazor/mauiapp/MauiProgram.cs @@ -11,7 +11,7 @@ public static class MauiProgram { public static string BaseWeb = $"{Base}:5002/listentogether"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; - public static string APIUrl = $"{Base}:5000/v1/"; + public static string APIUrl = $"{Base}:5000/"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; public static MauiApp CreateMauiApp()