diff --git a/OrdersManagement/Program.cs b/OrdersManagement/Program.cs index 3c4ee61..53be7fd 100644 --- a/OrdersManagement/Program.cs +++ b/OrdersManagement/Program.cs @@ -8,7 +8,7 @@ var builder = WebApplication.CreateBuilder(args); builder.Services.AddSyncfusionBlazor(); builder.Services.AddBlazorBootstrap(); -string faKrosnoApiUrl = builder.Configuration["FaKrosnoApiUrl"] ?? "http://localhost:5555"; // Ustawienie na adres twojego API +string faKrosnoApiUrl = builder.Configuration["FaKrosnoApiUrl"] ?? "http://localhost:5001"; builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(faKrosnoApiUrl) }); // Add services to the container.