Skip to content

Commit 0aad297

Browse files
authored
Merge pull request #2240 from Particular/patch-1
Disable monitoringUrl also when ReverseProxy enabled
2 parents 5205f7b + 5ce59d8 commit 0aad297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServicePulse/ConstantsFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static string GetContent(Settings settings)
1414
if (settings.EnableReverseProxy)
1515
{
1616
serviceControlUrl = "/api/";
17-
monitoringUrl = "/monitoring-api/";
17+
monitoringUrl = settings.MonitoringUri == null ? "!" : "/monitoring-api/";
1818
}
1919
else
2020
{

0 commit comments

Comments
 (0)