Fix service reference

This commit is contained in:
2025-08-03 19:05:43 +02:00
parent e65052d7f4
commit 49c88bdb66
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
using PresentPortal.Shared;
using PresentPortal.Web;
using PresentPortal.Web.Components;
@@ -15,7 +16,7 @@ builder.Services.AddHttpClient<WeatherApiClient>(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();