* Changed API port in WebApp

This commit is contained in:
2025-02-14 19:54:30 +01:00
parent 9463a33239
commit 8aad585ce9

View File

@@ -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.