Added 0.0.0.0 health checks url transformation #66

Merged
khwezi merged 1 commits from payments into master 2026-06-03 11:24:03 +02:00
Showing only changes of commit b4a48c9cbf - Show all commits
+4 -2
View File
@@ -69,8 +69,10 @@ public static class Api
if (!string.IsNullOrWhiteSpace(urls))
{
string firstUrl = urls.Split(';').FirstOrDefault(s => s.Contains("http://"))!
.Replace("*", "localhost").Replace("+", "localhost");
string firstUrl = urls.Split(';').FirstOrDefault(s => s.Contains("http://"))!
.Replace("0.0.0.0", "localhost")
.Replace("*", "localhost")
.Replace("+", "localhost");
healthUrl = $"{firstUrl.TrimEnd('/')}/health";
}