Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Add GET "/" route to avoid error logging from AppService AlwaysOn age…
Browse files Browse the repository at this point in the history
…nt. (#7)
  • Loading branch information
gaurarpit authored Apr 15, 2024
1 parent d4fe638 commit 66cfce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
app.UseHttpsRedirection();
app.UseCors("DexCorsPolicy");
app.MapHealthChecks("/_health", new HealthCheckOptions { ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse });
app.MapGet("/", () => "Welcome to Healthcare Data Exchange. Please refer to the documentation for detailed usage guidelines.");
app.MapCarter();

if (app.Environment.IsEnvironment("Local"))
Expand Down

0 comments on commit 66cfce3

Please sign in to comment.