mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
removed no longer necessary workaround in resolveAuthProxyUrl() (#5833)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
f4b7fea54a
commit
0d2aea0101
@ -131,9 +131,8 @@ export class ContextHandler implements ClusterContextHandler {
|
||||
|
||||
async resolveAuthProxyUrl(): Promise<string> {
|
||||
const kubeAuthProxy = await this.ensureServerHelper();
|
||||
const path = this.clusterUrl.path !== "/" ? this.clusterUrl.path : "";
|
||||
|
||||
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}${path}`;
|
||||
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}`;
|
||||
}
|
||||
|
||||
resolveAuthProxyCa() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user