Skip to content

Commit

Permalink
Add healthcheck ping endpoint for storage
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldgray committed May 22, 2024
1 parent c03594f commit a2f8ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LeedsExperiment/Storage.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@

var app = builder.Build();

app.MapGet("/api/ping", () => "pong");

// Configure the HTTP request pipeline.
app.UseSwagger();
app.UseSwaggerUI();
Expand Down

0 comments on commit a2f8ede

Please sign in to comment.