From c75687ebec10a871134c3663dc59e2a5ef2e21ae Mon Sep 17 00:00:00 2001 From: Zhenghao Zhang Date: Thu, 10 Nov 2022 22:38:34 +0800 Subject: [PATCH] fix playground link --- cmd/gorse-in-one/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/gorse-in-one/main.go b/cmd/gorse-in-one/main.go index 4bae00d9a..195011ac1 100644 --- a/cmd/gorse-in-one/main.go +++ b/cmd/gorse-in-one/main.go @@ -92,9 +92,9 @@ var oneCommand = &cobra.Command{ } fmt.Println() - fmt.Printf(" Dashboard: http://%s:%d/overview\n", conf.Master.HttpHost, conf.Master.HttpPort) - fmt.Printf(" RESTful APIs: http://%s:%d/apidocs\n", conf.Master.HttpHost, conf.Master.HttpPort) - fmt.Printf(" Documentation: https://docs.gorse.io/\n") + fmt.Printf(" Dashboard: http://127.0.0.1:%d/overview\n", conf.Master.HttpPort) + fmt.Printf(" RESTful APIs: http://127.0.0.1:%d/apidocs\n", conf.Master.HttpPort) + fmt.Printf(" Documentation: https://gorse.io/docs\n") fmt.Println() } else { configPath, _ := cmd.PersistentFlags().GetString("config")