From 0def21b879a4d5288a2c3ad027a1a9bf97833138 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Tue, 31 Jan 2023 10:10:30 -0800 Subject: [PATCH] Update Config.cs --- src/Mobile/Config.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mobile/Config.cs b/src/Mobile/Config.cs index 613a81f..f36816a 100644 --- a/src/Mobile/Config.cs +++ b/src/Mobile/Config.cs @@ -16,7 +16,8 @@ public static class Config } } - public static string BaseWeb = $"https://dotnetpodcasts.azurewebsites.net/"; - public static string APIUrl = $"https://podcastapica.ashyhill-df3dfdf5.eastus.azurecontainerapps.io/"; - public static string ListenTogetherUrl = $"https://dotnetpodcasts-listentogether-hub.azurewebsites.net/listentogether"; + public static string BaseWeb = $"{Base}:5002/"; + public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; + public static string APIUrl = $"{Base}:5003/"; + public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; }