|
|
@ -60,6 +60,7 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API |
|
|
|
}); |
|
|
|
|
|
|
|
}) |
|
|
|
.ConfigureAppConfiguration(x => x.AddConfiguration(configuration)) |
|
|
|
.UseFailing(options => { |
|
|
|
options.ConfigPath = "/Failing"; |
|
|
|
options.NotFilteredPaths.AddRange(new[] {"/hc","/liveness"}); |
|
|
@ -67,7 +68,6 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API |
|
|
|
.UseStartup<Startup>() |
|
|
|
.UseApplicationInsights() |
|
|
|
.UseContentRoot(Directory.GetCurrentDirectory()) |
|
|
|
.UseConfiguration(configuration) |
|
|
|
.UseSerilog() |
|
|
|
.Build(); |
|
|
|
|
|
|
|