diff --git a/src/react/next-architecture/ui/ConfigProvider.tsx b/src/react/next-architecture/ui/ConfigProvider.tsx index 0de6f71d0..68439323b 100644 --- a/src/react/next-architecture/ui/ConfigProvider.tsx +++ b/src/react/next-architecture/ui/ConfigProvider.tsx @@ -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,