Skip to content

Commit 457044c

Browse files
Update Startup.cs
1 parent 374069e commit 457044c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TransactionProcessor/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ private void ConfigureMiddlewareServices(IServiceCollection services)
208208
name: "Eventstore",
209209
failureStatus: HealthStatus.Unhealthy,
210210
tags: new string[] { "db", "eventstore" })
211-
.AddUrlGroup(new Uri($"{ConfigurationReader.GetValue("SecurityConfiguration", "Authority")}/.well-known/openid-configuration"),
211+
.AddUrlGroup(new Uri($"{ConfigurationReader.GetValue("SecurityConfiguration", "Authority")}/health"),
212212
name: "Security Service",
213213
httpMethod: HttpMethod.Get,
214214
failureStatus: HealthStatus.Unhealthy,
215215
tags: new string[] { "security", "authorisation" })
216-
.AddUrlGroup(new Uri($"{ConfigurationReader.GetValue("AppSettings", "EstateManagementApi")}/.well-known/openid-configuration"),
216+
.AddUrlGroup(new Uri($"{ConfigurationReader.GetValue("AppSettings", "EstateManagementApi")}/health"),
217217
name: "Estate Management Service",
218218
httpMethod: HttpMethod.Get,
219219
failureStatus: HealthStatus.Unhealthy,

0 commit comments

Comments
 (0)