diff --git a/src/kubernetes-tool/utils/helm_parts/utils.ts b/src/kubernetes-tool/utils/helm_parts/utils.ts index c982d37..e391467 100644 --- a/src/kubernetes-tool/utils/helm_parts/utils.ts +++ b/src/kubernetes-tool/utils/helm_parts/utils.ts @@ -15,7 +15,8 @@ limitations under the License. */ // Defines the mirror hostname. -let mirrorHostname = process.env.NODE_ENV === "development" ? "http://localhost:8001" : null +const useGitHttpMirrorFs = process.env.USE_GIT_HTTP_MIRROR_FS +const mirrorHostname = useGitHttpMirrorFs === "true" ? "http://localhost:8001" : null // Imports needed stuff. import GitHubFS from "../githubFs"