diff --git a/ui/src/pages/insightDetail/namespace/index.tsx b/ui/src/pages/insightDetail/namespace/index.tsx index 1d301c2f..f10ddd89 100644 --- a/ui/src/pages/insightDetail/namespace/index.tsx +++ b/ui/src/pages/insightDetail/namespace/index.tsx @@ -126,7 +126,7 @@ const ClusterDetail = () => { const { response: clusterDetailResponse, refetch: clusterDetailRefetch } = useAxios({ - url: `/rest-api/v1/cluster/${cluster}`, + url: '/rest-api/v1/insight/detail', method: 'GET', }) @@ -138,7 +138,7 @@ const ClusterDetail = () => { function getClusterDetail() { clusterDetailRefetch({ - url: `/rest-api/v1/cluster/${cluster}`, + url: '/rest-api/v1/insight/detail', option: { params: { cluster, diff --git a/ui/src/pages/insightDetail/resource/index.tsx b/ui/src/pages/insightDetail/resource/index.tsx index 1d4f8b34..6ebc4558 100644 --- a/ui/src/pages/insightDetail/resource/index.tsx +++ b/ui/src/pages/insightDetail/resource/index.tsx @@ -101,7 +101,7 @@ const ClusterDetail = () => { const { response: clusterDetailResponse, refetch: clusterDetailRefetch } = useAxios({ - url: `/rest-api/v1/cluster/${cluster}`, + url: '/rest-api/v1/insight/score', method: 'GET', }) @@ -113,7 +113,7 @@ const ClusterDetail = () => { function getClusterDetail() { clusterDetailRefetch({ - url: `/rest-api/v1/cluster/${cluster}`, + url: '/rest-api/v1/insight/detail', option: { params: { cluster,