From 13b6e10ed00f0d022297b13a5f43ccee657da0f3 Mon Sep 17 00:00:00 2001 From: CristhianF7 Date: Mon, 23 Oct 2023 10:58:31 -0500 Subject: [PATCH] fix: debug validation --- internal/cluster/cluster.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/cluster/cluster.go b/internal/cluster/cluster.go index 7983f9fc4..ba8a11b56 100644 --- a/internal/cluster/cluster.go +++ b/internal/cluster/cluster.go @@ -21,12 +21,11 @@ import ( "github.com/kubefirst/kubefirst/internal/types" ) - func GetConsoleIngresUrl() string { - if strings.ToLower(os.Getenv("K1_LOCAL_DEBUG")) != "true" { //allow using local console running on port 3000 + if strings.ToLower(os.Getenv("K1_LOCAL_DEBUG")) == "true" { //allow using local console running on port 3000 return "http://localhost:3000" - } + } return "https://console.kubefirst.dev" }