feat(frontend+backend): connect api backend with frontend
This commit is contained in:
@@ -13,8 +13,6 @@ builder.Services.AddHttpClient<IApiService, ApiService>(client =>
|
||||
client.BaseAddress = new Uri("http://localhost:8000/api/"); // Python backend API endpoint
|
||||
});
|
||||
|
||||
builder.Services.AddScoped<IApiService, ApiService>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
Reference in New Issue
Block a user