Skip to content

Commit fb115c8

Browse files
Merge pull request #541 from TransactionProcessing/bug/#535_ignore_vesion_on_healthchecks
dont version check health requests
2 parents 2a8b727 + c9c79b4 commit fb115c8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

TransactionProcessorACL/Startup.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerF
8383

8484
app.Use(async (context, next) =>
8585
{
86-
if (context.Request.Path.StartsWithSegments("/health"))
86+
//if (context.Request.Path.StartsWithSegments("/health"))
87+
var path = context.Request.Path;
88+
89+
if (path.StartsWithSegments("/health") ||
90+
path.StartsWithSegments("/healthui"))
8791
{
8892
await next();
8993
return;

0 commit comments

Comments
 (0)