This commit was merged in pull request #34.
This commit is contained in:
12
services/bff/Bff.Api/Program.cs
Normal file
12
services/bff/Bff.Api/Program.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Services.AddHealthChecks();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapGet("/", () => "BFF placeholder");
|
||||
app.MapHealthChecks("/health");
|
||||
|
||||
app.Run();
|
||||
|
||||
// Exposed so the test host (WebApplicationFactory<Program>) can boot the app.
|
||||
public partial class Program;
|
||||
Reference in New Issue
Block a user