From 0d2aea0101bcaa1573edbe897f56e790032ece05 Mon Sep 17 00:00:00 2001 From: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com> Date: Tue, 19 Jul 2022 01:48:27 -0400 Subject: [PATCH] removed no longer necessary workaround in resolveAuthProxyUrl() (#5833) Signed-off-by: Jim Ehrismann --- src/main/context-handler/context-handler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/context-handler/context-handler.ts b/src/main/context-handler/context-handler.ts index 3ab4fc3ca7..1917461c34 100644 --- a/src/main/context-handler/context-handler.ts +++ b/src/main/context-handler/context-handler.ts @@ -131,9 +131,8 @@ export class ContextHandler implements ClusterContextHandler { async resolveAuthProxyUrl(): Promise { 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() {