Update APIUrl so the .NET MAUI Blazor app works locally

pull/101/head
Daniel Roth 2022-04-29 10:56:30 -07:00 committed by GitHub
parent a2c8ba6a53
commit 92059dc044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()