Skip to content

Commit

Permalink
ZKUI-408 fix: Grafana URL is relative from the root of the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWatenbergScality authored Nov 8, 2023
1 parent 38effb5 commit 6e94142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/next-architecture/ui/ConfigProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function useGrafanaURL() {
const instances = useDeployedMetalk8sInstances();

if (instances.length) {
const baseUrl = instances[0].url;
const baseUrl = new URL(instances[0].url).origin;
const runTimeConfig = retrieveConfiguration({
configType: 'run',
name: instances[0].name,
Expand Down

0 comments on commit 6e94142

Please sign in to comment.