🐛 Fix the issues in pro, console, proxy, config and scripts commands

This commit is contained in:
M. Mert Yildiran
2023-03-19 18:39:22 +03:00
parent abc506af1a
commit 0dac046f57
6 changed files with 15 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ func runConsole() {
response, err := http.Get(fmt.Sprintf("%s/echo", hubUrl))
if err != nil || response.StatusCode != 200 {
log.Info().Msg(fmt.Sprintf(utils.Yellow, "Couldn't connect to Hub. Establishing proxy..."))
runProxy(false)
runProxy(false, true)
}
interrupt := make(chan os.Signal, 1)