Merge pull request 'Added 0.0.0.0 health checks url transformation' (#66) from payments into master
Reviewed-on: #66
This commit was merged in pull request #66.
This commit is contained in:
@@ -70,7 +70,9 @@ public static class Api
|
|||||||
if (!string.IsNullOrWhiteSpace(urls))
|
if (!string.IsNullOrWhiteSpace(urls))
|
||||||
{
|
{
|
||||||
string firstUrl = urls.Split(';').FirstOrDefault(s => s.Contains("http://"))!
|
string firstUrl = urls.Split(';').FirstOrDefault(s => s.Contains("http://"))!
|
||||||
.Replace("*", "localhost").Replace("+", "localhost");
|
.Replace("0.0.0.0", "localhost")
|
||||||
|
.Replace("*", "localhost")
|
||||||
|
.Replace("+", "localhost");
|
||||||
|
|
||||||
healthUrl = $"{firstUrl.TrimEnd('/')}/health";
|
healthUrl = $"{firstUrl.TrimEnd('/')}/health";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user