Skip to content

Commit 5ce59d8

Browse files
dominikhuembelijasontaylordev
authored andcommitted
Disable monitoringUrl also when ReverseProxy enbaled
1 parent 5205f7b commit 5ce59d8

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)