mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
4561a59906
commit
28c145585f
2 files changed
+3
-1
No files matched your search
@@ -24,7 +24,7 @@ const getClusterForRequestInjectable = getInjectable({
|
||||
const cluster = getClusterById(clusterId);
|
||||
|
||||
if (cluster) {
|
||||
// we need to swap path prefix so that request is proxied to kube api
|
||||
// we need to swap path prefix so that request is proxied to kube api
|
||||
req.url = req.url.replace(`/${clusterId}`, apiKubePrefix);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user