diff --git a/PresentPortal.Web/PresentPortal.Web.csproj b/PresentPortal.Web/PresentPortal.Web.csproj index aa2a367..eb1bb8d 100644 --- a/PresentPortal.Web/PresentPortal.Web.csproj +++ b/PresentPortal.Web/PresentPortal.Web.csproj @@ -8,6 +8,7 @@ + diff --git a/PresentPortal.Web/Program.cs b/PresentPortal.Web/Program.cs index 8283ec5..f2ed189 100644 --- a/PresentPortal.Web/Program.cs +++ b/PresentPortal.Web/Program.cs @@ -1,3 +1,4 @@ +using PresentPortal.Shared; using PresentPortal.Web; using PresentPortal.Web.Components; @@ -15,7 +16,7 @@ builder.Services.AddHttpClient(client => { // This URL uses "https+http://" to indicate HTTPS is preferred over HTTP. // Learn more about service discovery scheme resolution at https://aka.ms/dotnet/sdschemes. - client.BaseAddress = new("https+http://apiservice"); + client.BaseAddress = new($"https+http://{ServiceNames.Api}"); }); var app = builder.Build();