Skip to content

Commit 5a417c5

Browse files
authored
Fix monitoring url (#4647)
1 parent a2d6249 commit 5a417c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/UI/Controls/Navigation/MainMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import Hamburger from './Hamburger';
1717
// We remove the dev port :8000 in case it's there.
1818
let monitoringURL = null;
1919
if (window.featureFlags.FEATURE_MONITORING) {
20-
const audienceURL = new URL(window.config.mapiAudience);
20+
const audienceURL = new URL(window.config.mapiEndpoint);
2121
const hostnameParts = audienceURL.host.split('.');
2222
hostnameParts[0] = 'grafana';
2323
audienceURL.host = hostnameParts.join('.');

0 commit comments

Comments
 (0)