Update APIUrl so the .NET MAUI Blazor app works locally
parent
a2c8ba6a53
commit
92059dc044
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue